Date: Wed, 22 Feb 1995 18:24:48 -0700 From: Nate Williams <nate@trout.sri.MT.net> To: Poul-Henning Kamp <phk@ref.tfs.com>, wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman) Cc: jkh@freefall.cdrom.com, current@freefall.cdrom.com Subject: Re: TRUE and FALSE Message-ID: <199502230124.SAA16677@trout.sri.MT.net> In-Reply-To: Poul-Henning Kamp <phk@ref.tfs.com> "Re: TRUE and FALSE" (Feb 22, 4:36pm)
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502230124.SAA16677>