1 |
commit: 1cfe4af2f0be5eca2571d0e661cdfedd3230dee6 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 9 22:06:07 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 22:06:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cfe4af2 |
7 |
|
8 |
net-firewall/iptables: avoid autoreconf |
9 |
|
10 |
Bug: https://bugs.gentoo.org/660790 |
11 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
12 |
|
13 |
net-firewall/iptables/iptables-1.8.0.ebuild | 10 +++++----- |
14 |
1 file changed, 5 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/net-firewall/iptables/iptables-1.8.0.ebuild b/net-firewall/iptables/iptables-1.8.0.ebuild |
17 |
index d4cee0085fc..e8e9447e3dd 100644 |
18 |
--- a/net-firewall/iptables/iptables-1.8.0.ebuild |
19 |
+++ b/net-firewall/iptables/iptables-1.8.0.ebuild |
20 |
@@ -41,15 +41,15 @@ RDEPEND="${COMMON_DEPEND} |
21 |
nftables? ( net-misc/ethertypes ) |
22 |
" |
23 |
|
24 |
-PATCHES=( "${FILESDIR}"/iptables-1.8.0-fix-building-without-nft-backend.patch ) |
25 |
- |
26 |
src_prepare() { |
27 |
+ eapply "${FILESDIR}"/iptables-1.8.0-fix-building-without-nft-backend.patch |
28 |
+ touch -r configure extensions/GNUmakefile.in || die |
29 |
+ |
30 |
# use the saner headers from the kernel |
31 |
rm -f include/linux/{kernel,types}.h |
32 |
|
33 |
- default |
34 |
- |
35 |
- eautoreconf |
36 |
+ # Only run autotools if user patched something |
37 |
+ eapply_user && eautoreconf || elibtoolize |
38 |
} |
39 |
|
40 |
src_configure() { |