[net-firewall/iptables] sync with tree

This commit is contained in:
Robert Förster 2020-02-14 04:30:12 +01:00
parent f2dfbe188b
commit 8b5cab806a
1 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,7 @@ COMMON_DEPEND="
netlink? ( net-libs/libnfnetlink ) netlink? ( net-libs/libnfnetlink )
nftables? ( nftables? (
>=net-libs/libmnl-1.0:0= >=net-libs/libmnl-1.0:0=
>=net-libs/libnftnl-1.1.3:0= >=net-libs/libnftnl-1.1.5:0=
) )
pcap? ( net-libs/libpcap ) pcap? ( net-libs/libpcap )
" "
@ -47,6 +47,7 @@ src_prepare() {
# use the saner headers from the kernel # use the saner headers from the kernel
rm include/linux/{kernel,types}.h || die rm include/linux/{kernel,types}.h || die
eapply_user
eautoreconf eautoreconf
} }
@ -77,8 +78,6 @@ src_configure() {
} }
src_compile() { src_compile() {
# Deal with parallel build errors.
use nftables && emake -C iptables xtables-config-parser.h
emake V=1 emake V=1
} }
@ -124,7 +123,7 @@ src_install() {
fi fi
# Move important libs to /lib #332175 # Move important libs to /lib #332175
gen_usr_ldscript -a ip{4,6}tc iptc xtables gen_usr_ldscript -a ip{4,6}tc xtables
find "${ED}" -type f -name "*.la" -delete || die find "${ED}" -type f -name "*.la" -delete || die
} }