From 6e2956ca418df76496eabcff03e8caa3ec220a0a Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 6 Jan 2018 20:51:01 +0100 Subject: media-sound/lilypond: Test LINGUAS rather than linguas_* USE flags. Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- media-sound/lilypond/lilypond-2.18.2-r3.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'media-sound/lilypond/lilypond-2.18.2-r3.ebuild') diff --git a/media-sound/lilypond/lilypond-2.18.2-r3.ebuild b/media-sound/lilypond/lilypond-2.18.2-r3.ebuild index ee3ea59a82a8..2bb07eef3355 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 -- cgit v1.2.3-18-g5258