Subject: Re: check_DESTDIR again..
To: Luke Mewburn <lukem@wasabisystems.com>
From: Todd Vierling <tv@wasabisystems.com>
List: current-users
Date: 03/19/2002 09:25:34
On Wed, 20 Mar 2002, Luke Mewburn wrote:
: | > good call, but not exactly the correct fix. ;-) your patch effectively
: | > made check_DESTDIR a no-op, because DESTDIR would have been defined
: | > beforehand.
: |
: | Bugger! (Actually, why is DESTDIR?= needed? Looks like sticking plaster
: | from a distance..)
:
: Not sure exactly; maybe Todd can answer that one.
The reason it exists is to *guarantee* that DESTDIR is set on a build where
USETOOLS=yes. There's many side effects to setting DESTDIR, not the least
of which is adding -nostdinc -isystem and so forth, and these side effects
are required in order to build with USETOOLS=yes (even if your DESTDIR would
be an empty string, i.e. "build to /").
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi & NetBSD: Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/