mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
guile-utils.eclass: make generated GUILE_USEDEP entries conditional
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 <kacper.slominski72@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44587 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
7572bd583a
commit
998c2e8173
@ -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[@]}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user