mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
1 changed files with 8 additions and 7 deletions
|
@ -123,6 +123,14 @@ for _line in ${dp_RAWDEPENDS} ; do
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case "${origin}" in
|
||||||
|
*@*/*) ;; # Ignore @ in the path which would not be a flavor
|
||||||
|
*@*)
|
||||||
|
export FLAVOR="${origin##*@}"
|
||||||
|
origin=${origin%@*}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "${origin}" in
|
case "${origin}" in
|
||||||
/*) ;;
|
/*) ;;
|
||||||
*)
|
*)
|
||||||
|
@ -135,13 +143,6 @@ for _line in ${dp_RAWDEPENDS} ; do
|
||||||
origin="${orig}"
|
origin="${orig}"
|
||||||
;;
|
;;
|
||||||
esac
|
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}"
|
depends_args="${dp_DEPENDS_ARGS}"
|
||||||
target=${dp_DEPENDS_TARGET}
|
target=${dp_DEPENDS_TARGET}
|
||||||
|
|
Loading…
Add table
Reference in a new issue