diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-01-04 19:58:18 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-01-04 19:58:18 +0000 |
commit | 37aedfab778ca555414f7e6362497b072ae478e8 (patch) | |
tree | 43226ba1cdb48b639e08303b39a0f264661ac2ff /Mk | |
parent | Bump PORTREVISION after update FreeRDP to 2.0.0-rc1 (r458051) (diff) |
Fix some *-list targets not properly passing FLAVOR down the chain.
Approved by: portmgr (implicit)
MFH: 2018Q1
Notes
Notes:
svn path=/head/; revision=458054
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/depends-list.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mk/Scripts/depends-list.sh b/Mk/Scripts/depends-list.sh index d035d6b26f10..b5d554a406e5 100644 --- a/Mk/Scripts/depends-list.sh +++ b/Mk/Scripts/depends-list.sh @@ -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 |