diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-01-06 20:02:29 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-01-06 20:03:20 +0100 |
commit | 2cf9d0b0ba31b8eaa07f491acfb1859c1a252692 (patch) | |
tree | 8a3d9bbd4f6d3fe7cab50a9039fcf9cb72c8bfe2 /media-gfx/exiv2 | |
parent | x11-misc/parcellite: missing RDEPEND (diff) | |
download | gentoo-2cf9d0b0ba31b8eaa07f491acfb1859c1a252692.tar.gz gentoo-2cf9d0b0ba31b8eaa07f491acfb1859c1a252692.tar.bz2 gentoo-2cf9d0b0ba31b8eaa07f491acfb1859c1a252692.zip |
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
Diffstat (limited to 'media-gfx/exiv2')
-rw-r--r-- | media-gfx/exiv2/exiv2-0.26_p20171104-r1.ebuild | 8 | ||||
-rw-r--r-- | 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 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) ;; |