commit:     47b7b000c375d7be5c730486c40adf237d118095
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Thu Jun  6 16:25:25 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 11:49:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b7b000

media-sound/guitarix: use array to pass configure args

Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/12212
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-sound/guitarix/guitarix-0.38.1-r1.ebuild | 32 ++++++++++++++------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/media-sound/guitarix/guitarix-0.38.1-r1.ebuild 
b/media-sound/guitarix/guitarix-0.38.1-r1.ebuild
index f087100afca..ce38767c1e0 100644
--- a/media-sound/guitarix/guitarix-0.38.1-r1.ebuild
+++ b/media-sound/guitarix/guitarix-0.38.1-r1.ebuild
@@ -54,20 +54,22 @@ DEPEND="${COMMON_DEPEND}
 DOCS=( changelog README )
 
 src_configure() {
-       waf-utils_src_configure \
-               --cxxflags-debug="" \
-               --cxxflags-release="-DNDEBUG" \
-               --ldflags="${LDFLAGS}" \
-               --enable-lfs \
-               --lib-dev \
-               --no-desktop-update \
-               --no-faust \
-               --no-ldconfig \
-               --shared-lib \
-               $(use_enable nls) \
-               $(usex bluetooth "" "--no-bluez") \
-               $(usex debug "--debug" "") \
-               $(usex lv2 "--lv2dir=${EPREFIX}/usr/$(get_libdir)/lv2" 
"--no-lv2 --no-lv2-gui") \
-               $(usex standalone "" "--no-standalone") \
+       local myconf=(
+               --cxxflags-debug=""
+               --cxxflags-release="-DNDEBUG"
+               --ldflags="${LDFLAGS}"
+               --enable-lfs
+               --lib-dev
+               --no-desktop-update
+               --no-faust
+               --no-ldconfig
+               --shared-lib
+               $(use_enable nls)
+               $(usex bluetooth "" "--no-bluez")
+               $(usex debug "--debug" "")
+               $(usex lv2 "--lv2dir=${EPREFIX}/usr/$(get_libdir)/lv2" 
"--no-lv2 --no-lv2-gui")
+               $(usex standalone "" "--no-standalone")
                $(usex zeroconf "" "--no-avahi")
+       )
+       waf-utils_src_configure "${myconf[@]}"
 }

Reply via email to