Subject: bin/23310: DESTDIR suggestion
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 10/29/2003 14:55:18
>Synopsis: DESTDIR for build.sh and pkgsrc should be differentiated
>Arrival-Date: Wed Oct 29 20:56:00 UTC 2003
>Originator: Kazushi (Jam) Marukawa
>Release: NetBSD 1.6ZC
System: NetBSD fs.nerv.org 1.6ZC NetBSD 1.6ZC (sou) #1: Fri Oct 10 09:00:25 CDT 2003 firstname.lastname@example.org:/usr/src/sys/arch/i386/compile/sou i386
The default values of DESTDIR for build.sh and pkgsrc are different.
Build.sh 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 build.sh.
I think we should use different name between build.sh and pkgsrc
DESTDIR or define new makefile macro to differentiate the environment
for pkgsrc from build.sh.
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.