diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-12-15 02:27:31 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-12-15 02:27:31 +0000 |
commit | bf8e18c8fac3666f0236bc349a0f6e26c73aabbf (patch) | |
tree | ab1911b41f111b4dd66dca8b99da072467be837f /share/mk | |
parent | 0e97c750e064f3a48cbdc50daf3abb898b7ac9f4 (diff) | |
download | FreeBSD-src-bf8e18c8fac3666f0236bc349a0f6e26c73aabbf.zip FreeBSD-src-bf8e18c8fac3666f0236bc349a0f6e26c73aabbf.tar.gz |
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
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/local.dirdeps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/local.dirdeps.mk b/share/mk/local.dirdeps.mk index 3e08830..94bc2a1 100644 --- a/share/mk/local.dirdeps.mk +++ b/share/mk/local.dirdeps.mk @@ -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 |