summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-06 20:51:01 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-06 20:53:35 +0100
commit6e2956ca418df76496eabcff03e8caa3ec220a0a (patch)
tree6cd1cba72dd9233c01c6017f4a9dbe45653536cd /media-sound/lilypond/lilypond-2.18.2-r3.ebuild
parentnet-wireless/wpa_supplicant: Fixed build with USE="-ssl" or USE="ssl gnutls". (diff)
downloadgentoo-6e2956ca418df76496eabcff03e8caa3ec220a0a.tar.gz
gentoo-6e2956ca418df76496eabcff03e8caa3ec220a0a.tar.bz2
gentoo-6e2956ca418df76496eabcff03e8caa3ec220a0a.zip
media-sound/lilypond: Test LINGUAS rather than linguas_* USE flags.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-sound/lilypond/lilypond-2.18.2-r3.ebuild')
-rw-r--r--media-sound/lilypond/lilypond-2.18.2-r3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/media-sound/lilypond/lilypond-2.18.2-r3.ebuild b/media-sound/lilypond/lilypond-2.18.2-r3.ebuild
index ee3ea59a82a..2bb07eef335 100644
--- a/media-sound/lilypond/lilypond-2.18.2-r3.ebuild
+++ b/media-sound/lilypond/lilypond-2.18.2-r3.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
@@ -14,7 +14,7 @@ LICENSE="GPL-3 FDL-1.3"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa x86"
LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
-IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}"
+IUSE="debug emacs profile vim-syntax"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=">=app-text/ghostscript-gpl-8.15
@@ -76,7 +76,7 @@ src_prepare() {
sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
for lang in ${LANGS}; do
- use linguas_${lang} || rm po/${lang}.po || die
+ has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die
done
# respect AR