Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2018 21:39:40 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465035 - head/Mk
Message-ID:  <201803192139.w2JLdeQZ044483@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Mar 19 21:39:40 2018
New Revision: 465035
URL: https://svnweb.freebsd.org/changeset/ports/465035

Log:
  Fix some recursive targets using the wrong FLAVOR.
  
  Reported by:	Andrzej Tobola <ato@iem.pw.edu.pl>, koobs
  Approved by:	portmgr (implicit)

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Mar 19 21:10:34 2018	(r465034)
+++ head/Mk/bsd.port.mk	Mon Mar 19 21:39:40 2018	(r465035)
@@ -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\#*@}; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803192139.w2JLdeQZ044483>