summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-10-02 13:26:00 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-10-02 13:26:00 +0000
commitd5c6fbbb2f1225645eff927016f6fa56f91b0b94 (patch)
treedead6288665d4d1e751ae6a1ec3ffb05314bbf0f /net-analyzer/nepenthes
parentRevbump. Respect CC/CFLAGS/LDFLAGS, build verbose, bug#334647. (diff)
downloadgentoo-2-d5c6fbbb2f1225645eff927016f6fa56f91b0b94.tar.gz
gentoo-2-d5c6fbbb2f1225645eff927016f6fa56f91b0b94.tar.bz2
gentoo-2-d5c6fbbb2f1225645eff927016f6fa56f91b0b94.zip
Fix for building with newer curl wrt bug #426482
(Portage version: 2.2.0_alpha132/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nepenthes')
-rw-r--r--net-analyzer/nepenthes/ChangeLog5
-rw-r--r--net-analyzer/nepenthes/nepenthes-0.2.2.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/net-analyzer/nepenthes/ChangeLog b/net-analyzer/nepenthes/ChangeLog
index 4f6fc4f3129e..aaee7f5e023c 100644
--- a/net-analyzer/nepenthes/ChangeLog
+++ b/net-analyzer/nepenthes/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/nepenthes
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/ChangeLog,v 1.23 2012/06/12 02:53:49 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/ChangeLog,v 1.24 2012/10/02 13:26:00 pinkbyte Exp $
+
+ 02 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> nepenthes-0.2.2.ebuild:
+ Fix for building with newer curl wrt bug #426482
12 Jun 2012; Zac Medico <zmedico@gentoo.org> nepenthes-0.2.2.ebuild:
inherit user for enewgroup and enewuser
diff --git a/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild b/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild
index 38c92a7ec3f6..2f93d160603e 100644
--- a/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild
+++ b/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild,v 1.8 2012/06/12 02:53:49 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild,v 1.9 2012/10/02 13:26:00 pinkbyte Exp $
EAPI="2"
inherit autotools eutils user
@@ -37,6 +37,10 @@ src_prepare() {
sed -i configure.ac \
-e 's|-R/usr/local/lib||g' || die
find . -name Makefile.am -exec sed 's: -Werror::' -i '{}' \;
+
+ # fix for bug #426482
+ has_version ">=net-misc/curl-7.22.0" && find . -type f -exec sed '/#include <curl\/types.h>/d' -i '{}' \;
+
eautoreconf
}