Add .../share/mk to the default system make path. This will fix the

problem with broken in-tree builds (which are used far more
pervasively than I'd known outside the tree). However, weird results
may now happen if at any point in the tree above you there happens to
be a directory that has subdirectory of share/mk, as unpredictable
results will follow. This was considered the lessor of the two evils,
at least for now. In the future this will be removed again when the
underlying issues are resolved.
This commit is contained in:
Warner Losh 2014-05-23 00:20:44 +00:00
parent 97bbab9993
commit 47e496fd5d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266566

View File

@ -166,7 +166,6 @@ accept test:
# override some simple things
BINDIR= /usr/bin
MANDIR= /usr/share/man/man
DEFAULT_SYS_PATH= /usr/share/mk
# make sure we get this
CFLAGS+= ${COPTS.${.IMPSRC:T}}