From: Michał Górny Date: Sun, 2 Dec 2018 08:28:06 +0000 (+0100) Subject: sys-devel/distcc: Improve src_configure readability X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=45603e83dea716f18e4fe443cdeda19f05a4016d;p=gentoo.git sys-devel/distcc: Improve src_configure readability Signed-off-by: Michał Górny --- 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() {