Subject: bin/23310: DESTDIR suggestion
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/29/2003 14:55:18
>Number:         23310
>Category:       bin
>Synopsis:       DESTDIR for and pkgsrc should be differentiated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 29 20:56:00 UTC 2003
>Originator:     Kazushi (Jam) Marukawa
>Release:        NetBSD 1.6ZC
System: NetBSD 1.6ZC NetBSD 1.6ZC (sou) #1: Fri Oct 10 09:00:25 CDT 2003 i386
Architecture: i386
Machine: i386
	The default values of DESTDIR for and pkgsrc are different. uses /usr/src/obj, but pkgsrc uses /.  However, both use
	the same "DESTDIR" name in /etc/mk.conf and this causes conflicts
	when a user try to specify his/her own DESTDIR.

	It is possible to solve this problem using BSD_PKG_MK makefile macro
	in /etc/mk.conf, but this macro is for differentiating the environment
	for pkgsrc on BSD from other OS, not for differentiating the
	environment for pkgsrc from
	I think we should use different name between and pkgsrc
	DESTDIR or define new makefile macro to differentiate the environment
	for pkgsrc from

	I got this idea from the Q&A on current-users ML at Oct 29.  If
	there are another solution for this problem and my above request
	has no worth, please ignore this.  Thanks in advance.