Subject: xsrc/13003: xsrc build does not respect DESTDIR in mk.conf all of the time when make release'ing
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk>
List: netbsd-bugs
Date: 05/22/2001 12:33:43
>Number:         13003
>Category:       xsrc
>Synopsis:       xsrc build does not respect DESTDIR in mk.conf all of the time when make release'ing.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 22 04:33:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chris Pinnock
>Release:        xsrc checked out in the last week.
>Organization:
School of Mathematical Sciences, QM, Uni of LONDON, UK
>Environment:
System: NetBSD sylow.maths.qmw.ac.uk 1.5.1_BETA2 NetBSD 1.5.1_BETA2 (SYLOW) #19: Fri May 11 14:24:35 BST 2001 cjep@sylow.maths.qmw.ac.uk:/usr/src/sys/arch/i386/compile/SYLOW i386

>Description:
	Set DESTDIR in /etc/mk.conf, but not in your environment. Do
	a "make release" in /usr/xsrc. Your binaries will be installed
	into /usr/X11R6, but the .tgz build process at the end will 
	look in DESTDIR.

	At present, we suggest (on web page 
	developers/releng/build-release.html) setting DESTDIR in the
	environment. However, for the base build without X one can use
	DESTDIR in /etc/mk.conf.

	[I came across this whilst trying to rework the
	build-release.html page.]

>How-To-Repeat:
	echo "DESTDIR=/usr/destdir" >> /etc/mk.conf
	cd xsrc
	make release
>Fix:
	None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: