bmake 20230123 gives us .SYSPATH

No need to faff about trying to work out where bmake
is looking - it tells you.
This commit is contained in:
Simon J. Gerraty 2023-04-22 18:15:31 -07:00
parent df53ae0fdd
commit 04989ef426

View File

@ -14,6 +14,9 @@ VERSION_MAP?= Version.map
CLEANFILES+= ${VERSION_MAP}
.if ${MAKE_VERSION} >= 20230123
_mpath= ${.SYSPATH}
.else
# Compute the make's -m path.
_mpath=
_oarg=
@ -24,6 +27,7 @@ _mpath+= ${_arg}
_oarg= ${_arg}
.endfor
_mpath+= /usr/share/mk
.endif
# Look up ${VERSION_GEN} in ${_mpath}.
_vgen=