From 45603e83dea716f18e4fe443cdeda19f05a4016d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 2 Dec 2018 09:28:06 +0100 Subject: [PATCH] sys-devel/distcc: Improve src_configure readability MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-devel/distcc/distcc-3.3.ebuild | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/sys-devel/distcc/distcc-3.3.ebuild b/sys-devel/distcc/distcc-3.3.ebuild index 2a717b289136..aa78ecf5d2b8 100644 --- a/sys-devel/distcc/distcc-3.3.ebuild +++ b/sys-devel/distcc/distcc-3.3.ebuild @@ -75,17 +75,18 @@ src_prepare() { } src_configure() { - local myconf="--disable-Werror" + local myconf=( + --disable-Werror + $(use_with gtk) + $(use_with gnome) + $(use_with gssapi auth) + $(use_with zeroconf avahi) + ) # --disable-rfc2553 b0rked, bug #254176 - use ipv6 && myconf="${myconf} --enable-rfc2553" - - econf \ - $(use_with gtk) \ - $(use_with gnome) \ - $(use_with gssapi auth) \ - $(use_with zeroconf avahi) \ - ${myconf} + use ipv6 && myconf+=(--enable-rfc2553) + + econf "${myconf[@]}" } src_install() { -- 2.26.2