Fix some *-list targets not properly passing FLAVOR down the chain.
Approved by: portmgr (implicit) MFH: 2018Q1
This commit is contained in:
parent
4ff1289401
commit
37aedfab77
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458054
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue