svn commit: r458054 - head/Mk/Scripts
Bryan Drewery
bdrewery at FreeBSD.org
Thu Jan 4 19:58:20 UTC 2018
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
More information about the svn-ports-head
mailing list