mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
eclass/ada.eclass: Better fix for empty unsupported
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
+5
-1
@@ -258,10 +258,14 @@ _ada_single_set_globals() {
|
||||
local unflags=( "${_ADA_UNSUPPORTED_IMPLS[@]/#/-ada_target_}" )
|
||||
local allflags=( ${flags[@]} ${unflags[@]} )
|
||||
|
||||
local optflags=${allflags[@]/%/(-)?}
|
||||
local optflags=${flags[@]/%/(-)?}
|
||||
|
||||
IUSE="${allflags[*]}"
|
||||
|
||||
if [[ ${#_ADA_UNSUPPORTED_IMPLS[@]} -gt 0 ]]; then
|
||||
optflags+=,${unflags[@]/%/(-)}
|
||||
fi
|
||||
|
||||
local deps requse usedep
|
||||
if [[ ${#_ADA_SUPPORTED_IMPLS[@]} -eq 1 ]]; then
|
||||
# There is only one supported implementation; set IUSE and other
|
||||
|
||||
Reference in New Issue
Block a user