On Mon, Jan 05, 2009 at 02:47:56PM -0500, Jim Wise wrote: | Luke Mewburn <lukem%NetBSD.org@localhost> writes: | > Log Message: | > Move usr/share/mk/* from comp to base. | > We provide make in base, so having the "system" .mk files there is useful. | > Fixes PR 5865, PR 22126 | | Historically, make(1) was provided in base principally to support NIS | (see /var/yp/Makefile.yp). The system Makefiles were not included | because it was assumed that they would only work with the system | toolchain (or at least that anyone doing development would install the | system toolchain). Note that sys.mk, which has non-NetBSD-build-system | related initialization, is included in base. | | Can bsd.*.mk be used without comp installed? I can see having a | third-party toolchain, but you'd still install comp to get /usr/include, | right? | | If bsd.*.mk don't assume comp-* is installed, though, this change makes | a lot of sense. There are components of bsd.*.mk that shouldn't require comp-*. I solved those two PRs in the manner I did because: 1. The mk files aren't that large. 2. Parts of bsd.*.mk shouldn't require comp-* to be functional. 3. In the 10 years since the first PR was opened no-one had bothered to rewrite the /var/yp Makefiles to ensure that they had no dependencies on /usr/share/mk/*. 4. This change ended up being the least effort and least impact. cheers, Luke.
Attachment:
pgp9JhViO_rEk.pgp
Description: PGP signature