aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2018-03-20 05:39:40 +0800
committerbdrewery <bdrewery@FreeBSD.org>2018-03-20 05:39:40 +0800
commit645eb83be24ffd9c3fe1d459bf5915a3a9f4d651 (patch)
tree7d764eee805c647b4a879c9b50ecfb62c453a5d5 /Mk
parentb904004ef61f5e8ea190d6509cc4fc0b293e5f01 (diff)
downloadfreebsd-ports-gnome-645eb83be24ffd9c3fe1d459bf5915a3a9f4d651.tar.gz
freebsd-ports-gnome-645eb83be24ffd9c3fe1d459bf5915a3a9f4d651.tar.zst
freebsd-ports-gnome-645eb83be24ffd9c3fe1d459bf5915a3a9f4d651.zip
Fix some recursive targets using the wrong FLAVOR.
Reported by: Andrzej Tobola <ato@iem.pw.edu.pl>, koobs Approved by: portmgr (implicit)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 70ce01a87f8a..1c7f0da48ad7 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4053,6 +4053,7 @@ _FLAVOR_RECURSIVE_SH= \
${FALSE}; \
fi; \
for dir in $${recursive_dirs}; do \
+ unset flavor; \
case $${dir} in \
*@*) \
flavor=$${dir\#*@}; \
@@ -4240,6 +4241,7 @@ PACKAGE-DEPENDS-LIST?= \
fi; \
checked="${PARENT_CHECKED}"; \
for dir in ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}; do \
+ unset flavor; \
case $${dir} in \
*@*) \
flavor=$${dir\#*@}; \