Date: Thu, 4 Jan 2018 19:58:42 +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: r458055 - branches/2018Q1/Mk/Scripts Message-ID: <201801041958.w04JwgZu045242@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801041958.w04JwgZu045242>