Date: Thu, 4 Jan 2018 19:58:18 +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: r458054 - head/Mk/Scripts Message-ID: <201801041958.w04JwIXS045110@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Thu Jan 4 19:58:18 2018 New Revision: 458054 URL: https://svnweb.freebsd.org/changeset/ports/458054 Log: Fix some *-list targets not properly passing FLAVOR down the chain. Approved by: portmgr (implicit) MFH: 2018Q1 Modified: head/Mk/Scripts/depends-list.sh Modified: head/Mk/Scripts/depends-list.sh ============================================================================== --- head/Mk/Scripts/depends-list.sh Thu Jan 4 19:55:28 2018 (r458053) +++ head/Mk/Scripts/depends-list.sh Thu Jan 4 19:58:18 2018 (r458054) @@ -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.w04JwIXS045110>