diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-01-06 16:11:28 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-01-06 16:11:28 +0100 |
commit | 1fdc4e1c5c23fc6d760363b27d7eb422f005ef89 (patch) | |
tree | b303cabc7abc90e25edd0f18e40d5641db56728f /sys-apps/shadow | |
parent | dev-games/mygui: Migrate from LINGUAS to L10N. (diff) | |
download | gentoo-1fdc4e1c5c23fc6d760363b27d7eb422f005ef89.tar.gz gentoo-1fdc4e1c5c23fc6d760363b27d7eb422f005ef89.tar.bz2 gentoo-1fdc4e1c5c23fc6d760363b27d7eb422f005ef89.zip |
sys-apps/shadow: Remove linguas_* from IUSE.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r-- | sys-apps/shadow/shadow-4.4-r2.ebuild | 5 | ||||
-rw-r--r-- | sys-apps/shadow/shadow-4.5.ebuild | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sys-apps/shadow/shadow-4.4-r2.ebuild b/sys-apps/shadow/shadow-4.4-r2.ebuild index 429fa198d37f..8226ece43369 100644 --- a/sys-apps/shadow/shadow-4.4-r2.ebuild +++ b/sys-apps/shadow/shadow-4.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -15,7 +15,6 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 IUSE="acl audit +cracklib nls pam selinux skey xattr" # Taken from the man/Makefile.am file. LANGS=( cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr zh_CN zh_TW ) -IUSE+=" $(printf 'linguas_%s ' ${LANGS[*]})" RDEPEND="acl? ( sys-apps/acl:0= ) audit? ( >=sys-process/audit-2.6:0= ) @@ -69,7 +68,7 @@ src_configure() { if use nls ; then local l langs="po" # These are the pot files. for l in ${LANGS[*]} ; do - use linguas_${l} && langs+=" ${l}" + has ${l} ${LINGUAS-${l}} && langs+=" ${l}" done sed -i "/^SUBDIRS = /s:=.*:= ${langs}:" man/Makefile || die fi diff --git a/sys-apps/shadow/shadow-4.5.ebuild b/sys-apps/shadow/shadow-4.5.ebuild index e1ca2b3ce598..0863851a2f6c 100644 --- a/sys-apps/shadow/shadow-4.5.ebuild +++ b/sys-apps/shadow/shadow-4.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -15,7 +15,6 @@ KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc IUSE="acl audit +cracklib nls pam selinux skey xattr" # Taken from the man/Makefile.am file. LANGS=( cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr zh_CN zh_TW ) -IUSE+=" $(printf 'linguas_%s ' ${LANGS[*]})" RDEPEND="acl? ( sys-apps/acl:0= ) audit? ( >=sys-process/audit-2.6:0= ) @@ -65,7 +64,7 @@ src_configure() { if use nls ; then local l langs="po" # These are the pot files. for l in ${LANGS[*]} ; do - use linguas_${l} && langs+=" ${l}" + has ${l} ${LINGUAS-${l}} && langs+=" ${l}" done sed -i "/^SUBDIRS = /s:=.*:= ${langs}:" man/Makefile || die fi |