summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-08-07 16:57:00 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-08-07 16:57:00 +0000
commit491b5ed179e1ab84897d74afdf9a0ae2a4a29b6a (patch)
tree5c40d6888ebfb52d8b12ad0fa21659ec5cb25b99 /Mk
parentd119ca245008c990e78e2ee05414d28435a1a18f (diff)
downloadfreebsd-ports-491b5ed179e1ab84897d74afdf9a0ae2a4a29b6a.zip
- If USES=uniquefiles is used without another .mk file incorporating it, the
post hooks might not be properly executed, causing a loss of functionality, especially moving individual files around Phabric: D559 Approved by: portmgr (antoine@)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/uniquefiles.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/Uses/uniquefiles.mk b/Mk/Uses/uniquefiles.mk
index 0dfc08264788..c4809e3dcfe5 100644
--- a/Mk/Uses/uniquefiles.mk
+++ b/Mk/Uses/uniquefiles.mk
@@ -89,6 +89,9 @@ UNIQUE_DEFAULT_LINKS?= no
UNIQUE_FIND_PREFIX_FILES?= # empty
UNIQUE_FIND_SUFFIX_FILES?= # empty
+_USES_POST+= uniquefiles
+.endif # _INCLUDE_USES_UNIQUEFILES_MK
+
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_UNIQUEFILES_POST_MK)
_INCLUDE_USES_UNIQUEFILES_POST_MK= yes
@@ -192,4 +195,3 @@ move-uniquefiles-plist:
fi
.endif # defined(_POSTMKINCLUDED)
-.endif # _INCLUDE_USES_UNIQUEFILES_MK