Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/distcc/
Date: Sun, 02 Dec 2018 08:38:33
Message-Id: 1543739895.45603e83dea716f18e4fe443cdeda19f05a4016d.mgorny@gentoo
1 commit: 45603e83dea716f18e4fe443cdeda19f05a4016d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 2 08:28:06 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 2 08:38:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45603e83
7
8 sys-devel/distcc: Improve src_configure readability
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-devel/distcc/distcc-3.3.ebuild | 19 ++++++++++---------
13 1 file changed, 10 insertions(+), 9 deletions(-)
14
15 diff --git a/sys-devel/distcc/distcc-3.3.ebuild b/sys-devel/distcc/distcc-3.3.ebuild
16 index 2a717b28913..aa78ecf5d2b 100644
17 --- a/sys-devel/distcc/distcc-3.3.ebuild
18 +++ b/sys-devel/distcc/distcc-3.3.ebuild
19 @@ -75,17 +75,18 @@ src_prepare() {
20 }
21
22 src_configure() {
23 - local myconf="--disable-Werror"
24 + local myconf=(
25 + --disable-Werror
26 + $(use_with gtk)
27 + $(use_with gnome)
28 + $(use_with gssapi auth)
29 + $(use_with zeroconf avahi)
30 + )
31
32 # --disable-rfc2553 b0rked, bug #254176
33 - use ipv6 && myconf="${myconf} --enable-rfc2553"
34 -
35 - econf \
36 - $(use_with gtk) \
37 - $(use_with gnome) \
38 - $(use_with gssapi auth) \
39 - $(use_with zeroconf avahi) \
40 - ${myconf}
41 + use ipv6 && myconf+=(--enable-rfc2553)
42 +
43 + econf "${myconf[@]}"
44 }
45
46 src_install() {