commit:     2cf9d0b0ba31b8eaa07f491acfb1859c1a252692
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 19:02:29 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 19:03:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf9d0b0

media-gfx/exiv2: Remove linguas_* from IUSE.

Do not assign the LINGUAS variable in global scope, as it would
override the user's setting. Account for unset LINGUAS.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild | 8 ++++----
 media-gfx/exiv2/exiv2-0.26_p20171104.ebuild    | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild 
b/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild
index f7eb67dc5bf..7553fc67ec9 100644
--- a/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild
+++ b/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-LINGUAS="bs de es fi fr gl ms pl pt ru sk sv ug uk vi"
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 if [[ ${PV} = *9999 ]]; then
        EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git";
@@ -21,7 +20,7 @@ HOMEPAGE="http://www.exiv2.org/";
 
 LICENSE="GPL-2"
 SLOT="0/26"
-IUSE="doc examples nls png webready xmp $(printf 'linguas_%s ' ${LINGUAS})"
+IUSE="doc examples nls png webready xmp"
 
 RDEPEND="
        >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
@@ -63,7 +62,8 @@ src_prepare() {
                        pushd po > /dev/null || die
                        local lang
                        for lang in *.po; do
-                               if [[ -e ${lang} ]] && ! has ${lang/.po/} 
${LINGUAS} ; then
+                               if [[ -e ${lang} ]] \
+                                               && ! has ${lang/.po/} 
${LINGUAS-${lang/.po/}} ; then
                                        case ${lang} in
                                                CMakeLists.txt | \
                                                ${PN}.pot)      ;;

diff --git a/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild 
b/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild
index 9450566668f..4bd63be4e67 100644
--- a/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild
+++ b/media-gfx/exiv2/exiv2-0.26_p20171104.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-LINGUAS="bs de es fi fr gl ms pl pt ru sk sv ug uk vi"
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 if [[ ${PV} = *9999 ]]; then
        EGIT_REPO_URI="https://github.com/Exiv2/exiv2.git";
@@ -21,7 +20,7 @@ HOMEPAGE="http://www.exiv2.org/";
 
 LICENSE="GPL-2"
 SLOT="0/26"
-IUSE="doc examples nls png webready xmp $(printf 'linguas_%s ' ${LINGUAS})"
+IUSE="doc examples nls png webready xmp"
 
 RDEPEND="
        >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
@@ -62,7 +61,8 @@ src_prepare() {
                        pushd po > /dev/null || die
                        local lang
                        for lang in *.po; do
-                               if [[ -e ${lang} ]] && ! has ${lang/.po/} 
${LINGUAS} ; then
+                               if [[ -e ${lang} ]] \
+                                               && ! has ${lang/.po/} 
${LINGUAS-${lang/.po/}} ; then
                                        case ${lang} in
                                                CMakeLists.txt | \
                                                ${PN}.pot)      ;;

Reply via email to