From: Kacper Słomiński <[email protected]> If the user specifies only GUILE_TARGETS="3-0", previously, we would incorrectly try to pull in dependencies with USE flag dependencies like [guile_targets_2-2,guile_targets_3-0], which lead to an error about missing USE flags in the dependencies.
Signed-off-by: Kacper Słomiński <[email protected]> Part-of: https://github.com/gentoo/gentoo/pull/44587 Signed-off-by: Sam James <[email protected]> --- eclass/guile-utils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/guile-utils.eclass b/eclass/guile-utils.eclass index d066013486edc..88f69032a083b 100644 --- a/eclass/guile-utils.eclass +++ b/eclass/guile-utils.eclass @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: guile-utils.eclass @@ -146,7 +146,7 @@ guile_generate_depstrings() { for ver in "${GUILE_COMPAT[@]}"; do [[ -n ${GUILE_USEDEP} ]] && GUILE_USEDEP+="," uses+=("${prefix}_${ver}") - GUILE_USEDEP+="${prefix}_${ver}" + GUILE_USEDEP+="${prefix}_${ver}?" done GUILE_REQUIRED_USE="${depop} ( ${uses[@]} )" IUSE="${uses[@]}" -- 2.51.2
