summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/csound/csound-6.09.1.ebuild')
-rw-r--r--media-sound/csound/csound-6.09.1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/media-sound/csound/csound-6.09.1.ebuild b/media-sound/csound/csound-6.09.1.ebuild
index 75d255548604..7f018b3a9139 100644
--- a/media-sound/csound/csound-6.09.1.ebuild
+++ b/media-sound/csound/csound-6.09.1.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
@@ -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