diff options
Diffstat (limited to 'net-firewall/iptables/iptables-1.6.1-r3.ebuild')
-rw-r--r-- | net-firewall/iptables/iptables-1.6.1-r3.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net-firewall/iptables/iptables-1.6.1-r3.ebuild b/net-firewall/iptables/iptables-1.6.1-r3.ebuild index 67f06ce7ac09..f76df06504ed 100644 --- a/net-firewall/iptables/iptables-1.6.1-r3.ebuild +++ b/net-firewall/iptables/iptables-1.6.1-r3.ebuild @@ -19,7 +19,7 @@ SLOT="0/12" KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86" IUSE="conntrack ipv6 netlink nftables pcap static-libs" -RDEPEND=" +COMMON_DEPEND=" conntrack? ( >=net-libs/libnetfilter_conntrack-1.0.6 ) netlink? ( net-libs/libnfnetlink ) nftables? ( @@ -28,7 +28,7 @@ RDEPEND=" ) pcap? ( net-libs/libpcap ) " -DEPEND="${RDEPEND} +DEPEND="${COMMON_DEPEND} virtual/os-headers virtual/pkgconfig nftables? ( @@ -36,6 +36,12 @@ DEPEND="${RDEPEND} virtual/yacc ) " +RDEPEND="${COMMON_DEPEND} + nftables? ( + !<net-firewall/ebtables-2.0.10.4-r2 + !net-misc/ethertypes + ) +" src_prepare() { # use the saner headers from the kernel |