svn commit: r292241 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Tue Dec 15 02:27:33 UTC 2015
Author: bdrewery
Date: Tue Dec 15 02:27:31 2015
New Revision: 292241
URL: https://svnweb.freebsd.org/changeset/base/292241
Log:
DIRDEPS_BUILD: Avoid duplicates in DIRDEPS for bootstrapping.
This logic is potentially included multiple times, so overwrite the temporary
variable rather than append to it.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/share/mk/local.dirdeps.mk
Modified: head/share/mk/local.dirdeps.mk
==============================================================================
--- head/share/mk/local.dirdeps.mk Tue Dec 15 01:37:46 2015 (r292240)
+++ head/share/mk/local.dirdeps.mk Tue Dec 15 02:27:31 2015 (r292241)
@@ -134,7 +134,7 @@ DIRDEPS+= usr.bin/yacc.host
# BUILD_AT_LEVEL0, which we don't use).
# This only works for DPADD with full OBJ/SRC paths, which is mostly just
# _INTERNALLIBS.
-_DP_DIRDEPS+= \
+_DP_DIRDEPS= \
${DPADD:M${OBJTOP}*:H:tA:C,${OBJTOP}[^/]*/,,:N.:O:u} \
${DPADD:M${OBJROOT}*:N${OBJTOP}*:N${STAGE_ROOT}/*:H:S,${OBJROOT},,:C,^([^/]+)/(.*),\2.\1,:S,${HOST_TARGET}$,host,:N.*:O:u}
# Resolve the paths to RELDIRs
More information about the svn-src-head
mailing list