diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-09-19 12:55:49 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-09-21 09:59:08 +0200 |
commit | fcdaf7bf3a568a19619c08a8ca92b4ac0f0b039e (patch) | |
tree | cd0fe6579eaf1280f06096d8e566912827a3fabc /sys-apps/man-pages/man-pages-6.0_rc1.ebuild | |
parent | mail-client/thunderbird-bin: add 102.3.0, drop 102.2.2 (diff) | |
download | gentoo-fcdaf7bf3a568a19619c08a8ca92b4ac0f0b039e.tar.gz gentoo-fcdaf7bf3a568a19619c08a8ca92b4ac0f0b039e.tar.bz2 gentoo-fcdaf7bf3a568a19619c08a8ca92b4ac0f0b039e.zip |
sys-apps/man-pages: Update USE dependency on man-pages-l10n
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'sys-apps/man-pages/man-pages-6.0_rc1.ebuild')
-rw-r--r-- | sys-apps/man-pages/man-pages-6.0_rc1.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys-apps/man-pages/man-pages-6.0_rc1.ebuild b/sys-apps/man-pages/man-pages-6.0_rc1.ebuild index 662077f8568b..ca09d48f31f6 100644 --- a/sys-apps/man-pages/man-pages-6.0_rc1.ebuild +++ b/sys-apps/man-pages/man-pages-6.0_rc1.ebuild @@ -31,8 +31,9 @@ SRC_URI+=" LICENSE="man-pages GPL-2+ BSD" SLOT="0" -IUSE_L10N=" de es fr it ja nl pl pt-BR ro ru zh-CN" -IUSE="${IUSE_L10N// / l10n_}" +# Keep the following in sync with app-i18n/man-pages-l10n +MY_L10N=( cs da de el es fi fr hu id it mk nb nl pl pt-BR ro sr sv uk vi ) +IUSE="l10n_ja l10n_ru l10n_zh-CN ${MY_L10N[@]/#/l10n_}" RESTRICT="binchecks" # Block packages that used to install colliding man pages: @@ -43,18 +44,14 @@ RDEPEND=" !<dev-libs/libbsd-0.8.3-r1 " PDEPEND=" - l10n_de? ( app-i18n/man-pages-l10n[l10n_de(-)] ) - l10n_es? ( app-i18n/man-pages-l10n[l10n_es(-)] ) - l10n_fr? ( app-i18n/man-pages-l10n[l10n_fr(-)] ) - l10n_it? ( app-i18n/man-pages-l10n[l10n_it(-)] ) l10n_ja? ( app-i18n/man-pages-ja ) - l10n_nl? ( app-i18n/man-pages-l10n[l10n_nl(-)] ) - l10n_pl? ( app-i18n/man-pages-l10n[l10n_pl(-)] ) - l10n_pt-BR? ( app-i18n/man-pages-l10n[l10n_pt-BR(-)] ) - l10n_ro? ( app-i18n/man-pages-l10n[l10n_ro(-)] ) l10n_ru? ( app-i18n/man-pages-ru ) l10n_zh-CN? ( app-i18n/man-pages-zh_CN ) " +for lang in "${MY_L10N[@]}"; do + PDEPEND+=" l10n_${lang}? ( app-i18n/man-pages-l10n[l10n_${lang}(-)] )" +done +unset lang src_unpack() { default |