mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sys-apps/shadow: Remove linguas_* from IUSE.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user