On Tue, Oct 6, 2015 at 3:05 PM, Simon J. Gerraty <s...@juniper.net> wrote:
> Warner Losh <i...@bsdimp.com> wrote: > > > The sys.mk change to include src.conf breaks building ports in a > sub-dir > > > of src. Meaning, /usr/src/ports/. The MAKESYSPATH with '.../share/mk' > > > finds /usr/src/share/mk and runs off with all of the src.*.mk stuff > long > > > before the port Makefile includes bsd.port.mk, from > > > /usr/src/share/mk/bsd.port.mk, which has a _WITHOUT_SRCCONF= guard set > > > on it to avoid bsd.own.mk from including src.conf. But because sys.mk > > > is already included long before this, src.conf is already included and > > > anything handled in sys.mk has no real way to respect _WITHOUT_SRCCONF > > > unless it is in the environment > > > > Yuck! > > > > But the real problem here is MAKESYSPATH of …/share/mk. That was a > > hack until we had something like SRCTOP that we could use for finding > > the right stuff and for individual builds. So if we can solve that > > part of th > > but you only get SRCTOP as a consequence of finding the right > sys.mk et al. Which presumes you have MAKESYSPATH set correctly. > Ie. you find the right src.sys.env.mk and it can set SRCTOP based on > knowing its own location. > > A bit of chicken & egg... > That's why I haven't fixed it. I haven't puzzled out a how to cut the Gordian Knot yet. Warner _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"