commit: 45603e83dea716f18e4fe443cdeda19f05a4016d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 2 08:28:06 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 2 08:38:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45603e83
sys-devel/distcc: Improve src_configure readability
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
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 2a717b28913..aa78ecf5d2b 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() {