summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-02-26 17:02:00 +0000
committerPeter Volkov <pva@gentoo.org>2009-02-26 17:02:00 +0000
commitf766708e7c191f0d9bde481b8e25874955fbd40b (patch)
treed49076502f870558f39b4981352ee0c35a85321b /net-firewall/ipset/ipset-2.4.7.ebuild
parentBump to evolution-data-server-2.24.5 (diff)
downloadgentoo-2-f766708e7c191f0d9bde481b8e25874955fbd40b.tar.gz
gentoo-2-f766708e7c191f0d9bde481b8e25874955fbd40b.tar.bz2
gentoo-2-f766708e7c191f0d9bde481b8e25874955fbd40b.zip
Version bump, bug #260338, thank BoneKracker for report. Disable warnings, fixes bug #259999, thank Aleksey Kunitskiy for report.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'net-firewall/ipset/ipset-2.4.7.ebuild')
-rw-r--r--net-firewall/ipset/ipset-2.4.7.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-firewall/ipset/ipset-2.4.7.ebuild b/net-firewall/ipset/ipset-2.4.7.ebuild
index 44a2d62af4a2..2d9b9e3b7eed 100644
--- a/net-firewall/ipset/ipset-2.4.7.ebuild
+++ b/net-firewall/ipset/ipset-2.4.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-2.4.7.ebuild,v 1.2 2009/02/04 21:42:48 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-2.4.7.ebuild,v 1.3 2009/02/26 17:01:59 pva Exp $
inherit eutils versionator toolchain-funcs linux-mod linux-info
@@ -32,15 +32,17 @@ ERROR_CFG="ipset needs netfilter support in your kernel."
src_unpack() {
unpack ${A}
+ cd "${S}"
+
sed -i \
-e 's/KERNELDIR/(KERNELDIR)/g' \
-e 's/^(\?KERNEL_\?DIR.*/KERNELDIR ?= /' \
-e '/^all::/iV ?= 0' \
-e '/^all::/iKBUILD_OUTPUT ?=' \
-e '/$(MAKE)/{s/$@/ V=$(V) KBUILD_OUTPUT=$(KBUILD_OUTPUT) modules/}' \
- "${S}"/kernel/Makefile
+ kernel/Makefile
- cd "${S}"
+ sed -i -e 's/^WARN_FLAGS/DONT_WARN_FLAGS/' Makefile
epatch "${FILESDIR}/${P}-LDFLAGS.patch"
}