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

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

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

Modified:
  branches/2018Q1/Mk/bsd.port.mk
Directory Properties:
  branches/2018Q1/   (props changed)

Modified: branches/2018Q1/Mk/bsd.port.mk
==============================================================================
--- branches/2018Q1/Mk/bsd.port.mk	Mon Mar 19 21:39:40 2018	(r465035)
+++ branches/2018Q1/Mk/bsd.port.mk	Mon Mar 19 21:40:31 2018	(r465036)
@@ -4052,6 +4052,7 @@ _FLAVOR_RECURSIVE_SH= \
 		${FALSE}; \
 	fi; \
 	for dir in $${recursive_dirs}; do \
+		unset flavor; \
 		case $${dir} in \
 			*@*) \
 				flavor=$${dir\#*@}; \
@@ -4238,6 +4239,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?201803192140.w2JLeVFt044655>