summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-03-29 19:10:06 +0200
committerUlrich Müller <ulm@gentoo.org>2022-03-29 19:12:36 +0200
commit3e44d897a842d588fb9a8ff755ef294ac4e21fcc (patch)
tree5abbe79316086fec779cbf6b5ed2b35c237eb38e /sys-apps/sysvinit
parentsys-apps/sysvinit: fix build by skipping missing man pages (diff)
downloadgentoo-3e44d897a842d588fb9a8ff755ef294ac4e21fcc.tar.gz
gentoo-3e44d897a842d588fb9a8ff755ef294ac4e21fcc.tar.bz2
gentoo-3e44d897a842d588fb9a8ff755ef294ac4e21fcc.zip
sys-apps/sysvinit: Drop empty locales from PLOCALES
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r--sys-apps/sysvinit/sysvinit-3.02-r3.ebuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild b/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild
index 19908235ef90..a1c99e551867 100644
--- a/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild
+++ b/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PLOCALES="de es fi fr hu id pl"
+PLOCALES="de es fr pl"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sysvinit.asc
inherit toolchain-funcs flag-o-matic plocale verify-sig
@@ -142,10 +142,7 @@ src_install() {
if use nls && [[ -n "$(plocale_get_locales)" ]] ; then
install_locale_man_pages() {
- local man=( man/po/${1}/* )
- if [[ -e ${man[0]} ]]; then #836353,836371
- doman -i18n=${1} "${man[@]}"
- fi
+ doman -i18n=${1} man/po/${1}/*
}
plocale_for_each_locale install_locale_man_pages