app-i18n/man-pages-l10n: Revert use-default for L10N flags

Closes: https://bugs.gentoo.org/959796
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller 2025-07-12 06:34:17 +02:00
parent 3b285fec1f
commit b05b672525
No known key found for this signature in database
GPG Key ID: 5188335088415E2E
2 changed files with 5 additions and 3 deletions

View File

@ -13,8 +13,9 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
# fa omitted because of build failures (patches are welcome!)
MY_L10N=(cs da de el es fi fr hu id it ko mk nb nl pl pt-BR ro ru sr sv uk vi)
IUSE="${MY_L10N[@]/#/+l10n_}"
IUSE="${MY_L10N[@]/#/l10n_}"
# require at least one language lest we install an empty package
# pkgcheck warning: RequiredUseDefaults
REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )"
RDEPEND="virtual/man

View File

@ -13,8 +13,9 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
# fa omitted because of build failures (patches are welcome!)
MY_L10N=(cs da de el es fi fr hu id it ko mk nb nl pl pt-BR ro ru sr sv uk vi)
IUSE="${MY_L10N[@]/#/+l10n_}"
# require at least one language lest we install an empty package
IUSE="${MY_L10N[@]/#/l10n_}"
# Require at least one language, otherwise the package would be empty.
# Unfortunately, this triggers a RequiredUseDefaults pkgcheck warning.
REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )"
RDEPEND="virtual/man