commit:     3266783b8abfccebbb6f719d11ab974ce77f34cb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 17 17:32:26 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Nov 17 17:32:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3266783b

media-libs/mlt: Fix swig build opts

Bug: https://bugs.gentoo.org/637904
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 media-libs/mlt/mlt-6.4.1-r5.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/mlt/mlt-6.4.1-r5.ebuild 
b/media-libs/mlt/mlt-6.4.1-r5.ebuild
index 64cf548226c..cf1136ab792 100644
--- a/media-libs/mlt/mlt-6.4.1-r5.ebuild
+++ b/media-libs/mlt/mlt-6.4.1-r5.ebuild
@@ -174,14 +174,14 @@ src_configure() {
        # TODO: add swig language bindings
        # see also 
https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
 
-       local swig_lang=()
+       local swig_lang
        # TODO: java perl php tcl
        for i in lua python ruby ; do
-               use $i && swig_lang+=( $i )
+               use $i && swig_lang="${swig_lang} $i"
        done
-       [[ -z ${swig_lang} ]] && swig_lang=( none )
+       [[ -z "${swig_lang}" ]] && swig_lang="none"
 
-       econf ${myconf[@]} --swig-languages="${swig_lang[@]}"
+       econf ${myconf[@]} --swig-languages="${swig_lang}"
 
        sed -i -e s/^OPT/#OPT/ "${S}/config.mak" || die
 }

Reply via email to