commit:     1cfe4af2f0be5eca2571d0e661cdfedd3230dee6
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  9 22:06:07 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jul  9 22:06:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cfe4af2

net-firewall/iptables: avoid autoreconf

Bug: https://bugs.gentoo.org/660790
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 net-firewall/iptables/iptables-1.8.0.ebuild | 10 +++++-----
 1 file 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 d4cee0085fc..e8e9447e3dd 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() {

Reply via email to