summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/iptables/iptables-1.8.0.ebuild')
-rw-r--r--net-firewall/iptables/iptables-1.8.0.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-firewall/iptables/iptables-1.8.0.ebuild b/net-firewall/iptables/iptables-1.8.0.ebuild
index d4cee0085fc1..e8e9447e3dd0 100644
--- a/net-firewall/iptables/iptables-1.8.0.ebuild
+++ b/net-firewall/iptables/iptables-1.8.0.ebuild
@@ -41,15 +41,15 @@ RDEPEND="${COMMON_DEPEND}
nftables? ( net-misc/ethertypes )
"
-PATCHES=( "${FILESDIR}"/iptables-1.8.0-fix-building-without-nft-backend.patch )
-
src_prepare() {
+ eapply "${FILESDIR}"/iptables-1.8.0-fix-building-without-nft-backend.patch
+ touch -r configure extensions/GNUmakefile.in || die
+
# use the saner headers from the kernel
rm -f include/linux/{kernel,types}.h
- default
-
- eautoreconf
+ # Only run autotools if user patched something
+ eapply_user && eautoreconf || elibtoolize
}
src_configure() {