svn commit: r458055 - branches/2018Q1/Mk/Scripts

Bryan Drewery bdrewery at FreeBSD.org
Thu Jan 4 19:58:44 UTC 2018


Author: bdrewery
Date: Thu Jan  4 19:58:42 2018
New Revision: 458055
URL: https://svnweb.freebsd.org/changeset/ports/458055

Log:
  MFH: r458054
  
  Fix some *-list targets not properly passing FLAVOR down the chain.
  
  Approved by:	portmgr (implicit)

Modified:
  branches/2018Q1/Mk/Scripts/depends-list.sh
Directory Properties:
  branches/2018Q1/   (props changed)

Modified: branches/2018Q1/Mk/Scripts/depends-list.sh
==============================================================================
--- branches/2018Q1/Mk/Scripts/depends-list.sh	Thu Jan  4 19:58:18 2018	(r458054)
+++ branches/2018Q1/Mk/Scripts/depends-list.sh	Thu Jan  4 19:58:42 2018	(r458055)
@@ -53,6 +53,7 @@ check_dep() {
 	local _dep wrkdir show_dep
 
 	for _dep ; do
+		unset FLAOVR
 		myifs=${IFS}
 		IFS=:
 		set -- ${_dep}
@@ -65,7 +66,10 @@ check_dep() {
 
 		case "${d}" in
 		*@*/*) ;; # Ignore @ in the path which would not be a flavor
-		*@*) d=${d%@*} ;;
+		*@*)
+			export FLAVOR=${d##*@}
+			d=${d%@*}
+			;;
 		esac
 
 		case " ${checked} " in


More information about the svn-ports-branches mailing list