From: Alexander Tsoy Date: Thu, 6 Jun 2019 16:25:25 +0000 (+0300) Subject: media-sound/guitarix: use array to pass configure args X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=47b7b000c375d7be5c730486c40adf237d118095;p=gentoo.git media-sound/guitarix: use array to pass configure args Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Alexander Tsoy Closes: https://github.com/gentoo/gentoo/pull/12212 Signed-off-by: Michał Górny --- diff --git a/media-sound/guitarix/guitarix-0.38.1-r1.ebuild b/media-sound/guitarix/guitarix-0.38.1-r1.ebuild index f087100afca3..ce38767c1e0c 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[@]}" }