| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.13.ebuild,v 1.10 2012/06/26 04:36:01 zmedico Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.13.ebuild,v 1.11 2012/10/10 12:18:24 dev-zero Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
| 6 | |
6 | |
| 7 | # Force users doing their own patches to install their own tools |
7 | # Force users doing their own patches to install their own tools |
| 8 | AUTOTOOLS_AUTO_DEPEND=no |
8 | AUTOTOOLS_AUTO_DEPEND=no |
| … | |
… | |
| 21 | RDEPEND=" |
21 | RDEPEND=" |
| 22 | netlink? ( net-libs/libnfnetlink ) |
22 | netlink? ( net-libs/libnfnetlink ) |
| 23 | " |
23 | " |
| 24 | DEPEND="${RDEPEND} |
24 | DEPEND="${RDEPEND} |
| 25 | virtual/os-headers |
25 | virtual/os-headers |
|
|
26 | !>=sys-kernel/linux-headers-3.5 |
| 26 | " |
27 | " |
| 27 | |
28 | |
| 28 | src_prepare() { |
29 | src_prepare() { |
| 29 | # use the saner headers from the kernel |
30 | # use the saner headers from the kernel |
| 30 | rm -f include/linux/{kernel,types}.h |
31 | rm -f include/linux/{kernel,types}.h |