Fix some *-list targets not properly passing FLAVOR down the chain.

Approved by:	portmgr (implicit)
MFH:		2018Q1
This commit is contained in:
Bryan Drewery 2018-01-04 19:58:18 +00:00
parent 4ff1289401
commit 37aedfab77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458054

View file

@ -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