From 2cf9d0b0ba31b8eaa07f491acfb1859c1a252692 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 6 Jan 2018 20:02:29 +0100 Subject: 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(-) (limited to 'media-gfx/exiv2') diff --git a/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild b/media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild index f7eb67dc5bf2..7553fc67ec9a 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 9450566668f1..4bd63be4e67f 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) ;; -- cgit v1.2.3-65-gdbad