summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-06 17:19:49 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-06 17:22:40 +0100
commit38f5095024e13d3c9e68ea5049afa642a815f7f2 (patch)
tree9976ba07a8f193b8ec0178b6a31849d9431a7aa5 /dev-db/postgresql/postgresql-9.6.6.ebuild
parentdev-perl/IO-Socket-SSL: Drop old (diff)
downloadgentoo-38f5095024e13d3c9e68ea5049afa642a815f7f2.tar.gz
gentoo-38f5095024e13d3c9e68ea5049afa642a815f7f2.tar.bz2
gentoo-38f5095024e13d3c9e68ea5049afa642a815f7f2.zip
dev-db/postgresql: Remove linguas_* from IUSE.
Also move definition of supported locales to a local variable. How could this possibly have worked, with an assignment of the LINGUAS variable in global scope? Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-db/postgresql/postgresql-9.6.6.ebuild')
-rw-r--r--dev-db/postgresql/postgresql-9.6.6.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/dev-db/postgresql/postgresql-9.6.6.ebuild b/dev-db/postgresql/postgresql-9.6.6.ebuild
index eb48559dd4d7..08aa80472d1e 100644
--- a/dev-db/postgresql/postgresql-9.6.6.ebuild
+++ b/dev-db/postgresql/postgresql-9.6.6.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="6"
@@ -21,21 +21,17 @@ LICENSE="POSTGRESQL GPL-2"
DESCRIPTION="PostgreSQL RDBMS"
HOMEPAGE="http://www.postgresql.org/"
-LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
- zh_CN zh_TW"
IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
+readline selinux +server systemd ssl static-libs tcl threads uuid xml zlib"
-
-for lingua in ${LINGUAS}; do
- IUSE+=" linguas_${lingua}"
-done
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
wanted_languages() {
- local enable_langs
+ local linguas="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru
+ sk sl sv tr zh_CN zh_TW"
+ local enable_langs lingua
- for lingua in ${LINGUAS} ; do
- use linguas_${lingua} && enable_langs+="${lingua} "
+ for lingua in ${linguas} ; do
+ has ${lingua} ${LINGUAS-${lingua}} && enable_langs+="${lingua} "
done
echo -n ${enable_langs}