From 47b7b000c375d7be5c730486c40adf237d118095 Mon Sep 17 00:00:00 2001 From: Alexander Tsoy Date: Thu, 6 Jun 2019 19:25:25 +0300 Subject: [PATCH] media-sound/guitarix: use array to pass configure args MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- .../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 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[@]}" } -- 2.26.2