From owner-freebsd-current Wed Feb 22 17:21:50 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA13466 for current-outgoing; Wed, 22 Feb 1995 17:21:50 -0800 Received: from trout.sri.MT.net (trout.sri.MT.net [204.182.243.12]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id RAA13454; Wed, 22 Feb 1995 17:21:40 -0800 Received: (from nate@localhost) by trout.sri.MT.net (8.6.9/8.6.9) id SAA16677; Wed, 22 Feb 1995 18:24:48 -0700 Date: Wed, 22 Feb 1995 18:24:48 -0700 From: Nate Williams Message-Id: <199502230124.SAA16677@trout.sri.MT.net> In-Reply-To: Poul-Henning Kamp "Re: TRUE and FALSE" (Feb 22, 4:36pm) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Poul-Henning Kamp , wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman) Subject: Re: TRUE and FALSE Cc: jkh@freefall.cdrom.com, current@freefall.cdrom.com Sender: current-owner@FreeBSD.org Precedence: bulk > 1) Programs which are part of the FreeBSD source tree should compile cleanly, > and use $DESTDIR/usr/include, $DESTDIR/usr/lib and $DESTDIR/anything_else > for their needs. This means that a "make world" will be: > > make includes into $DESTDIR/usr/include > make tools using /usr/bin install into $DESTDIR/usr/bin > make libs using $DESTDIR into $DESTDIR/usr/lib > if the "paranoia" option is set > make includes into $DESTDIR/usr/include > make tools using $DESTDIR into $DESTDIR/usr/bin > make libs using $DESTDIR into $DESTDIR/usr/lib > endif > make all into $DESTDIR ^^^^^^^^^^^^^^^^^^^^^^ > > 2) Programs which are not part of FreeBSD can use just what they feel like, > it's entirely their own problem. > > Can anybody explain what the problem is with this ? Can you explain to me *HOW* you are going to build the new tools using the tools in $DESTDIR? I can see how the includes file will get down, but are you proposing that each and every Makefile that uses *any* utility will be required to 'register' that utility in the global Makefiles. All these registrations will be .if defined($DESTDIR) CC = $(DESTDIR)/usr/bin/cc -nostdlib -L$(DESTDIR)/usr/lib \ -I$(DESTDIR)/usr/include \ -find-my-other-binaries-in $(DESTDIR)/usr/libexec .else CC = cc .endif for every utility. This means that if any utility moves, the changes will have to be reflected in the modules file, the Makefile, the scripts, the system make files, and any other file that happens to reference that utility. And they call this progress? Nate