mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix overlays when using flavors.
Move FLAVOR processing before the overlays processing so that flavors can be used with overlays. PR: 247741 Submitted by: mikael
This commit is contained in:
parent
a379a9540b
commit
653dab23f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541336
@ -123,6 +123,14 @@ for _line in ${dp_RAWDEPENDS} ; do
|
||||
continue
|
||||
fi
|
||||
|
||||
case "${origin}" in
|
||||
*@*/*) ;; # Ignore @ in the path which would not be a flavor
|
||||
*@*)
|
||||
export FLAVOR="${origin##*@}"
|
||||
origin=${origin%@*}
|
||||
;;
|
||||
esac
|
||||
|
||||
case "${origin}" in
|
||||
/*) ;;
|
||||
*)
|
||||
@ -135,13 +143,6 @@ for _line in ${dp_RAWDEPENDS} ; do
|
||||
origin="${orig}"
|
||||
;;
|
||||
esac
|
||||
case "${origin}" in
|
||||
*@*/*) ;; # Ignore @ in the path which would not be a flavor
|
||||
*@*)
|
||||
export FLAVOR="${origin##*@}"
|
||||
origin=${origin%@*}
|
||||
;;
|
||||
esac
|
||||
|
||||
depends_args="${dp_DEPENDS_ARGS}"
|
||||
target=${dp_DEPENDS_TARGET}
|
||||
|
Loading…
Reference in New Issue
Block a user