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:
Bryan Drewery 2016-02-25 20:02:42 +00:00
parent 0acf5d0bfd
commit a2835556e9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296062
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)