commit:     4476e9893735ee89bc074d6fa177233e014d4051
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  7 09:08:45 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 09:08:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4476e989

media-sound/csound: always define csound_ac interfaces for cmake

 media-sound/csound/csound-6.07.0.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/media-sound/csound/csound-6.07.0.ebuild 
b/media-sound/csound/csound-6.07.0.ebuild
index 6ea7a0b..3a9ef32 100644
--- a/media-sound/csound/csound-6.07.0.ebuild
+++ b/media-sound/csound/csound-6.07.0.ebuild
@@ -116,13 +116,6 @@ src_prepare() {
 src_configure() {
        local myconf=()
 
-       if use csoundac ; then
-               myconf+=(
-                       -DBUILD_CSOUND_AC_PYTHON_INTERFACE=$(usex python)
-                       -DBUILD_CSOUND_AC_LUA_INTERFACE=$(usex lua)
-               )
-       fi
-
        use python && myconf+=( 
"-DPYTHON_MODULE_INSTALL_DIR=$(python_get_sitedir)" )
 
        [[ $(get_libdir) == "lib64" ]] && myconf+=( -DUSE_LIB64=ON )
@@ -132,6 +125,8 @@ src_configure() {
                -DBUILD_CSBEATS=$(usex beats)
                -DBUILD_CHUA_OPCODES=$(usex chua)
                -DBUILD_CSOUND_AC=$(usex csoundac)
+               -DBUILD_CSOUND_AC_LUA_INTERFACE=$(usex csoundac $(usex lua))
+               -DBUILD_CSOUND_AC_PYTHON_INTERFACE=$(usex csoundac $(usex 
python))
                -DBUILD_CXX_INTERFACE=$(usex cxx)
                -DUSE_CURL=$(usex curl)
                -DNEW_PARSER_DEBUG=$(usex debug)

Reply via email to