Fix build without FAST_DEPEND and without running 'make depend' after r295985.
The OBJS_DEPEND_GUESS mechanism required moving the bsd.dep.mk inclusion to after the checks, but left DEPENDFILE not-yet-set. Move it to bsd.own.mk to resolve this. Pointyhat to: bdrewery Reported by: antoine (ports failures) Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
0acf5d0bfd
commit
a2835556e9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296062
@ -61,7 +61,6 @@ _MKDEPCC:= ${CC:N${CCACHE_BIN}}
|
||||
_MKDEPCC+= ${DEPFLAGS}
|
||||
.endif
|
||||
MKDEPCMD?= CC='${_MKDEPCC}' mkdep
|
||||
DEPENDFILE?= .depend
|
||||
.if ${MK_DIRDEPS_BUILD} == "no"
|
||||
.MAKE.DEPENDFILE= ${DEPENDFILE}
|
||||
.endif
|
||||
|
@ -257,6 +257,8 @@ XZ_CMD?= xz
|
||||
# overriden by Makefiles, but the user may choose to set this in src.conf(5).
|
||||
TESTSBASE?= /usr/tests
|
||||
|
||||
DEPENDFILE?= .depend
|
||||
|
||||
# Compat for the moment -- old bsd.own.mk only included this when _WITHOUT_SRCCONF
|
||||
# wasn't defined. bsd.ports.mk and friends depend on this behavior. Remove in 12.
|
||||
.if !defined(_WITHOUT_SRCCONF)
|
||||
|
Loading…
Reference in New Issue
Block a user