Subject: Re: CVS commit: pkgsrc/mk
To: Lennart Augustsson <lennart@augustsson.net>
From: Todd Vierling <tv@wasabisystems.com>
List: pkgsrc-changes
Date: 11/28/2001 15:53:28
On Wed, 28 Nov 2001, Lennart Augustsson wrote:

: > Log Message:
: > In the odd possible case of someone using "pkgsrc" underneath "src"
:
: What's so odd about that?  src/ is where I keep all my sources.

`src' is a self-contained entity containing the NetBSD base system sources.
It does not contain pkgsrc and xsrc.  `src' includes a specific set of
subcomponents over which it has complete control -- bin, games, and so
forth.

If you add nonstandard subcomponents to `src', you should be fully expecting
the compile-time constraints of that subcomponent to be affected by the
constraints set by `src'.  This is what happened when the `src' changed
somewhat to add more support for `src/tools'.  Since you had a nonstandard
component under `src', your setup hit problems.

The basic source code subtrees shipped by NetBSD are src, pkgsrc, and xsrc
(not including the special doc, htdocs, othersrc, and so on).  If you want
to keep these trees together, they should be at the *same* directory level
just like netbsd.org ships them, not one containing another.

: Thank you for fixing this.  It was somewhat annoying

The workaround added to pkgsrc satiates this case, for now; I was actually a
little more inclied to make pkgsrc barf and tell the builder to move it
outside of `src'.  (I'm fully expecting `xsrc' to lose in a similar way if
you have put that inside `src' too.)

: (but I didn't report it since I'm sure you're sick of my build problems :).

Actually, I'd like to get a logdump on *any* problem you encounter, because
making the build system more bulletproof is really important right now.  I
don't mind the email traffic.  8-)

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/