From: Thomas Deutschmann Date: Mon, 9 Jul 2018 22:06:07 +0000 (+0200) Subject: net-firewall/iptables: avoid autoreconf X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1cfe4af2f0be5eca2571d0e661cdfedd3230dee6;p=gentoo.git net-firewall/iptables: avoid autoreconf Bug: https://bugs.gentoo.org/660790 Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- 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() {