From asmodai@malbolge.dnsalias.net  Wed Feb 13 08:24:15 2002
Return-Path: <asmodai@malbolge.dnsalias.net>
Received: from a96180.upc-a.chello.nl (a96180.upc-a.chello.nl [62.163.96.180])
	by hub.freebsd.org (Postfix) with ESMTP id 733AE37B402
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 13 Feb 2002 08:24:14 -0800 (PST)
Received: by a96180.upc-a.chello.nl (Postfix, from userid 1001)
	id A983F216F; Wed, 13 Feb 2002 17:24:12 +0100 (CET)
Message-Id: <20020213162412.A983F216F@a96180.upc-a.chello.nl>
Date: Wed, 13 Feb 2002 17:24:12 +0100 (CET)
From: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
Reply-To: Jeroen Ruigrok van der Werven <asmodai@malbolge.ninth-circle.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Porters Handbook or portlint problem
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         34909
>Category:       docs
>Synopsis:       Porters Handbook or portlint problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 13 08:30:02 PST 2002
>Closed-Date:    Fri Apr 05 14:28:49 PST 2002
>Last-Modified:  Fri Apr 05 14:28:49 PST 2002
>Originator:     Jeroen Ruigrok van der Werven
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Ninth Circle
>Environment:
System: FreeBSD daemon.chronias.ninth-circle.org 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Sat Nov 24 17:08:51 CET 2001 asmodai@celestial.chronias.ninth-circle.org:/usr/src/sys/i386/compile/DAEMON i386


>Description:
	The Porters Handbook, part 4.10 lists a dependency on ${PREFIX}, while
	a portlint check says people should use ${LOCALBASE} or ${X11BASE}
	instead.
>How-To-Repeat:
	Have a port with a dependency which contains ${PREFIX} and unleash
	portlint -abcvtN on it.
>Fix:

	Not sure.  Either the documenation is faulty, or portlint is outdated.
	Hence submitted to ports at first, but can/needs to be reassigned to
	docs if it is a documenation error.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->freebsd-doc 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Wed Feb 13 11:38:59 PST 2002 
Responsible-Changed-Why:  
portlint is accurate. This is a documentation issue 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34909 

From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To: Jeroen Ruigrok van der Werven <asmodai@malbolge.dnsalias.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/34909: Porters Handbook or portlint problem
Date: Wed, 13 Feb 2002 17:47:35 -0200

 What about the following patch, for starters.
 
 Also, perhaps we should add a line stating that unless a *_DEPENDS
 target is a library or binary in the path, it should be prepended
 with either LOCALBASE or X11BASE where appropriate; LOCALBASE if
 the dependency port has a standard PREFIX; or X11BASE if USE_X_PREFIX.
 
 --- book.sgml.orig	Wed Feb 13 17:41:08 2002
 +++ book.sgml	Wed Feb 13 17:42:28 2002
 @@ -1129,7 +1129,7 @@
  
            <para>For example,</para>
  
 -            <programlisting>RUN_DEPENDS=   ${PREFIX}/etc/innd:${PORTSDIR}/news/inn \
 +            <programlisting>RUN_DEPENDS=   ${LOCALBASE}/etc/innd:${PORTSDIR}/news/inn \
                 wish8.0:${PORTSDIR}/x11-toolkits/tk80</programlisting>
  
            <para>will check if the file or directory
 
 -- 
 Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
 Computer Science Undergraduate | FreeBSD Committer | CS Developer
 flames to beloved devnull@someotherworldbeloworabove.org
 feature, n: a documented bug | bug, n: an undocumented feature

From: Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
To: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/34909: Porters Handbook or portlint problem
Date: Wed, 13 Feb 2002 21:00:02 +0100

 -On [20020213 20:49], Mario Sergio Fujikawa Ferreira (lioux@FreeBSD.org) wrote:
 >What about the following patch, for starters.
 
 Looks fine to me.
 
 >Also, perhaps we should add a line stating that unless a *_DEPENDS
 >target is a library or binary in the path, it should be prepended
 >with either LOCALBASE or X11BASE where appropriate; LOCALBASE if
 >the dependency port has a standard PREFIX; or X11BASE if USE_X_PREFIX.
 
 Yes, like portlint warns you about.
 
 *nod*
 
 -- 
 Jeroen Ruigrok van der Werven / asmodai / Kita no Mono / xMach coreteam
 asmodai@[wxs.nl|xmach.org], finger asmodai@ninth-circle.org
 http://www.softweyr.com/asmodai/
 The distance to here is infinite...
State-Changed-From-To: open->closed 
State-Changed-By: asmodai 
State-Changed-When: Fri Apr 5 14:28:35 PST 2002 
State-Changed-Why:  
Committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34909 
>Unformatted:
