1 |
commit: 045e9fcbb0f3cbc277ecfb1ebe59d8ad1332bc62 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 19:00:13 2021 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 19:00:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045e9fcb |
7 |
|
8 |
net-misc/ipv6calc: convert econf args to a bash array |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild | 39 ++++++++++++++++-------------- |
14 |
1 file changed, 21 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild b/net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild |
17 |
index 9b30664564c..a5d7e8e70ae 100644 |
18 |
--- a/net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild |
19 |
+++ b/net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild |
20 |
@@ -30,26 +30,29 @@ src_configure() { |
21 |
# okay because we want then force enabled. |
22 |
# --disable-db-as-registry |
23 |
# --disable-db-cc-registry |
24 |
+ local myeconfargs=( |
25 |
+ --disable-bundled-getopt |
26 |
+ --disable-bundled-md5 |
27 |
+ --enable-shared |
28 |
+ --enable-dynamic-load |
29 |
+ --enable-db-ieee |
30 |
+ --enable-db-ipv4 |
31 |
+ --enable-db-ipv6 |
32 |
+ --disable-dbip |
33 |
+ --disable-dbip2 |
34 |
+ --disable-external |
35 |
+ --disable-ip2location |
36 |
+ --enable-openssl-evp-md5 |
37 |
+ --enable-openssl-md5 |
38 |
+ $(use_enable geoip) |
39 |
+ $(use_enable cgi mod_ipv6calc ) |
40 |
+ ) |
41 |
+ |
42 |
if use geoip; then |
43 |
- myconf=$(use_enable geoip) |
44 |
- myconf+=" --with-geoip-db=${EPREFIX}/usr/share/GeoIP" |
45 |
+ myeconfargs+=( "--with-geoip-db=${EPREFIX}/usr/share/GeoIP" ) |
46 |
fi |
47 |
- econf \ |
48 |
- --disable-bundled-getopt \ |
49 |
- --disable-bundled-md5 \ |
50 |
- --enable-shared \ |
51 |
- --enable-dynamic-load \ |
52 |
- --enable-db-ieee \ |
53 |
- --enable-db-ipv4 \ |
54 |
- --enable-db-ipv6 \ |
55 |
- --disable-dbip \ |
56 |
- --disable-dbip2 \ |
57 |
- --disable-external \ |
58 |
- --disable-ip2location \ |
59 |
- --enable-openssl-evp-md5 \ |
60 |
- --enable-openssl-md5 \ |
61 |
- $(use_enable cgi mod_ipv6calc ) \ |
62 |
- ${myconf} |
63 |
+ |
64 |
+ econf "${myeconfargs[@]}" |
65 |
} |
66 |
|
67 |
src_compile() { |