aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-03-11 23:45:02 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-03-11 23:45:02 +0000
commitfa3afecf97b376bb962e2295ef46ba42ecf83555 (patch)
tree9ce0c6f1d784690e931edc15f60df4d52bc9fb82
parent55f6623d83e2f730d3a923fdbb08198b84762e65 (diff)
downloadsrc-fa3afecf97b376bb962e2295ef46ba42ecf83555.tar.gz
src-fa3afecf97b376bb962e2295ef46ba42ecf83555.zip
DIRDEPS_BUILD: Extend beforeinstall: staging hack.
Most beforeinstall: usage is not adding commands but only adding targets, such as in share/sendmail. Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=296693
-rw-r--r--share/mk/bsd.sys.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index be4c52fe471f..2a26d3f1d2f5 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -198,7 +198,7 @@ staging stage_libs stage_files stage_as stage_links stage_symlinks:
# allow targets like beforeinstall to be leveraged
DESTDIR= ${STAGE_OBJTOP}
-.if commands(beforeinstall)
+.if target(beforeinstall)
.if !empty(_LIBS) || (${MK_STAGING_PROG} != "no" && !defined(INTERNALPROG))
staging: beforeinstall
.endif