Subject: misc/16533: Wrong example in Documentation/software/packages.html ("PACKAGES")
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: netbsd-bugs
Date: 04/28/2002 22:59:13
>Number:         16533
>Category:       misc
>Synopsis:       Wrong example in Documentation/software/packages.html ("PACKAGES")
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 28 16:00:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tomasz Luchowski
>Release:        irrelevant
>Organization:
/* Tomasz Luchowski <zuntum@netbsd.org> */
>Environment:
	
System: irrelevant

>Description:
	This URL: http://www.netbsd.org/Documentation/software/packages.html#mk.conf

	has example setting for /etc/mk.conf that doesn't work since PKGSRCDIR (iirc) has been renamed:

	PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH}
	When binary packages are made, save them in an OS_VERSION and MACHINE_ARCH specific subdirectory. 

	Right now this ends up with PACKAGES being set to /packages/${OS_VERSION}/${MACHINE_ARCH},
	which is not desired behaviour.

	
>How-To-Repeat:
	
>Fix:
	Not sure, but maybe just use ${_PKGSRCDIR} instead ${PKGSRCDIR}?
	
>Release-Note:
>Audit-Trail:
>Unformatted: