From 645eb83be24ffd9c3fe1d459bf5915a3a9f4d651 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Mon, 19 Mar 2018 21:39:40 +0000 Subject: Fix some recursive targets using the wrong FLAVOR. Reported by: Andrzej Tobola , koobs Approved by: portmgr (implicit) --- Mk/bsd.port.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Mk') 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\#*@}; \ -- cgit