local.meta.sys.mk set BOOTSTRAPPING

When building for host on non-FreeBSD
some makefiles want to see BOOTSTRAPPING defined.

With this libmd and hence nmtree build ok
This commit is contained in:
Simon J. Gerraty 2023-05-03 12:20:02 -07:00
parent 04ede3675e
commit 9f27341c33
3 changed files with 21 additions and 11 deletions

View File

@ -181,4 +181,9 @@ $V?= ${${V:S,DEP_,,}}
.endfor
.endif
.if ${MACHINE} == "host" && ${.MAKE.OS} != "FreeBSD"
# some makefiles expect this
BOOTSTRAPPING= 0
.endif
.endif

View File

@ -4,21 +4,13 @@ DIRDEPS= \
usr.bin/file2c \
usr.bin/lex \
usr.bin/mkdep \
usr.bin/mkimg \
usr.bin/rpcgen \
usr.bin/sed \
usr.bin/xargs \
usr.bin/yacc \
usr.bin/mkimg \
usr.bin/tar \
usr.bin/yacc \
usr.sbin/makefs \
# these need work
xDIRDEPS+= \
bin/dd \
bin/sh \
usr.bin/lockf \
usr.bin/stat \
usr.sbin/mtree \
usr.sbin/nmtree \
.include <dirdeps.mk>

View File

@ -0,0 +1,13 @@
# $FreeBSD$
# Autogenerated - do NOT edit!
DIRDEPS = \
lib/libmd \
lib/libnetbsd \
.include <dirdeps.mk>
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
# local dependencies - needed for -jN in clean tree
.endif