--- /usr/portage/net-firewall/iptables/iptables-1.4.3.2.ebuild 2009-06-18 03:06:27.000000000 +0200 +++ /usr/local/portage/net-firewall/iptables/iptables-1.4.3.2.ebuild 2009-07-08 09:36:15.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.3.2.ebuild,v 1.5 2009/06/18 00:46:35 gentoofan23 Exp $ -inherit eutils toolchain-funcs +inherit eutils toolchain-funcs linux-info DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools" HOMEPAGE="http://www.iptables.org/" @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" -IUSE="" +IUSE="ksource" DEPEND="virtual/os-headers" RDEPEND="" @@ -42,7 +42,8 @@ --enable-devel \ --enable-libipq \ --enable-shared \ - --enable-static + --enable-static \ + $(use_with ksource kernel ${KERNEL_DIR}) emake V=1 || die }