From a8b0d35ab742f31538d515dea39716e566d533c0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 Jan 2018 23:13:57 +0000 Subject: gentoo resync : 06.01.2018 --- dev-db/postgresql/postgresql-9.5.10.ebuild | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'dev-db/postgresql/postgresql-9.5.10.ebuild') diff --git a/dev-db/postgresql/postgresql-9.5.10.ebuild b/dev-db/postgresql/postgresql-9.5.10.ebuild index 360d90c28bc8..28e6fc826d3b 100644 --- a/dev-db/postgresql/postgresql-9.5.10.ebuild +++ b/dev-db/postgresql/postgresql-9.5.10.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" @@ -18,21 +18,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} -- cgit v1.2.3