svn commit: r295666 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Tue Feb 16 19:02:06 UTC 2016


Author: bdrewery
Date: Tue Feb 16 19:02:04 2016
New Revision: 295666
URL: https://svnweb.freebsd.org/changeset/base/295666

Log:
  Always remove .depend.* regardless of WITH_FAST_DEPEND in case of changing
  which is used.
  
  Sponsored by:	 EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.dep.mk

Modified: head/share/mk/bsd.dep.mk
==============================================================================
--- head/share/mk/bsd.dep.mk	Tue Feb 16 19:00:22 2016	(r295665)
+++ head/share/mk/bsd.dep.mk	Tue Feb 16 19:02:04 2016	(r295666)
@@ -59,7 +59,7 @@ DEPENDFILE?=	.depend
 .if ${MK_DIRDEPS_BUILD} == "no"
 .MAKE.DEPENDFILE= ${DEPENDFILE}
 .endif
-DEPENDFILES=	${DEPENDFILE}
+DEPENDFILES=	${DEPENDFILE} ${DEPENDFILE}.*
 
 # Keep `tags' here, before SRCS are mangled below for `depend'.
 .if !target(tags) && defined(SRCS) && !defined(NO_TAGS)
@@ -156,7 +156,6 @@ ${_D}.po: ${_DSRC} ${POBJS:S/^${_D}.po$/
 
 .if ${MK_FAST_DEPEND} == "yes" && \
     (${.MAKE.MODE:Mmeta} == "" || ${.MAKE.MODE:Mnofilemon} != "")
-DEPENDFILES+=	${DEPENDFILE}.*
 DEPEND_MP?=	-MP
 # Handle OBJS=../somefile.o hacks.  Just replace '/' rather than use :T to
 # avoid collisions.


More information about the svn-src-head mailing list