media-sound/csound: Remove linguas_* from IUSE.
authorUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 15:28:22 +0000 (16:28 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 15:29:02 +0000 (16:29 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-sound/csound/csound-6.08.0.ebuild
media-sound/csound/csound-6.09.1.ebuild
media-sound/csound/csound-9999.ebuild

index 9cf35beeed2bd123ebe00aaf2babbfa33c57f570..56eb7fc9cdf690f9bee1aee922b02b7d6386d66a 100644 (file)
@@ -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
@@ -26,7 +26,6 @@ portaudio portmidi pulseaudio python samples score static-libs stk tcl test
 +threads +utils vim-syntax websocket"
 
 LANGS=" de en_US es_CO fr it ro ru"
-IUSE+="${LANGS// / linguas_}"
 
 REQUIRED_USE="
        csoundac? ( || ( lua python ) )
@@ -112,7 +111,7 @@ src_prepare() {
 
        local lang
        for lang in ${LANGS} ; do
-               if ! use linguas_${lang} ; then
+               if ! has ${lang} ${LINGUAS-${lang}} ; then
                        sed -i "/compile_po(${lang}/d" po/CMakeLists.txt || die
                fi
        done
index 75d2555486048f908bb08f0676716fb2978ec2e5..7f018b3a91390acafa65b38473dede7ebd76a491 100644 (file)
@@ -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
@@ -30,7 +30,6 @@ portaudio portmidi pulseaudio python samples score static-libs stk tcl test
 +threads +utils vim-syntax websocket"
 
 IUSE_LANGS=" de en_US es es_CO fr it ro ru"
-IUSE+="${IUSE_LANGS// / linguas_}"
 
 REQUIRED_USE="
        csoundac? ( || ( lua python ) )
@@ -120,7 +119,7 @@ src_prepare() {
 
        local lang
        for lang in ${IUSE_LANGS} ; do
-               if ! use linguas_${lang} ; then
+               if ! has ${lang} ${LINGUAS-${lang}} ; then
                        sed -i "/compile_po(${lang}/d" po/CMakeLists.txt || die
                fi
        done
index afdb7ee631593819164934fa0c69246b1ebae496..5906af36652d96b9de1bbd476bb35bc0c823b5e3 100644 (file)
@@ -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
@@ -30,7 +30,6 @@ portaudio portmidi pulseaudio python samples score static-libs stk tcl test
 +threads +utils vim-syntax websocket"
 
 IUSE_LANGS=" de en_US es es_CO fr it ro ru"
-IUSE+="${IUSE_LANGS// / linguas_}"
 
 REQUIRED_USE="
        csoundac? ( || ( lua python ) )
@@ -118,7 +117,7 @@ src_prepare() {
 
        local lang
        for lang in ${IUSE_LANGS} ; do
-               if ! use linguas_${lang} ; then
+               if ! has ${lang} ${LINGUAS-${lang}} ; then
                        sed -i "/compile_po(${lang}/d" po/CMakeLists.txt || die
                fi
        done