Subject: Re: Toolchain Update (27-Nov-2001)
To: John Darrow <John.P.Darrow@wheaton.edu>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-pkg
Date: 11/28/2001 15:03:41
On Wed, 28 Nov 2001, John Darrow wrote:
: The problem is not in the pkgsrc Makefiles themselves, but further in,
: in the third party Makefiles which themselves use BSD make .include
: files as part of their build process.
I had thought of this in the back of my mind too.
It might be sufficient to add BSD_PKG_MK=1 to MAKE_ENV in this case, as you
suggested, to avoid picking up the wrong mk.conf variables. I haven't
tested it, and invite someone else to do so. (The issue is whether doing
this may exclude options _desired_ by the builder if the package uses BSD
Makefiles. 8-)
: These Makefiles have no clue that they're running as part of a pkgsrc
: build, and as such, if pkgsrc is located inside /usr/src, end up
: catching all the tools framework.
I've added something to bsd.prefs.mk (rev. 1.65) that sets USETOOLS=no --
both for bsd.pkg*.mk and via MAKE_ENV for invoked builds. This should allow
pkgsrc to be located inside "src" without trouble.
Now, why DESTDIR was being picked up for gr is unrelated to this, as his
pkgsrc was located outside of src. It's probably the BSD Makefile issue you
described above.
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi & NetBSD: Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/