diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-12-14 15:28:47 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-12-14 15:28:47 +0000 |
commit | db961b143867493e7a1403b1673b7e23bae14c87 (patch) | |
tree | 06a83c9f7ba7057f54de2cd1d4d9bdc93f779535 /net-analyzer | |
parent | amd64/x86 stable (diff) | |
download | gentoo-2-db961b143867493e7a1403b1673b7e23bae14c87.tar.gz gentoo-2-db961b143867493e7a1403b1673b7e23bae14c87.tar.bz2 gentoo-2-db961b143867493e7a1403b1673b7e23bae14c87.zip |
Fix gcc: error: unrecognized option -R (bug #365115).
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nepenthes/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/nepenthes/nepenthes-0.2.2.ebuild | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/net-analyzer/nepenthes/ChangeLog b/net-analyzer/nepenthes/ChangeLog index edb5a686f15e..0f9e79e01ab5 100644 --- a/net-analyzer/nepenthes/ChangeLog +++ b/net-analyzer/nepenthes/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/nepenthes -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/ChangeLog,v 1.20 2009/08/07 14:02:48 ssuominen Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/ChangeLog,v 1.21 2011/12/14 15:28:47 jer Exp $ + + 14 Dec 2011; Jeroen Roovers <jer@gentoo.org> nepenthes-0.2.2.ebuild: + Fix gcc: error: unrecognized option -R (bug #365115). 07 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> nepenthes-0.2.2.ebuild, -files/nepenthes-0.2.2-gcc44.patch: diff --git a/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild b/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild index 64dae5ba0742..b739631a7e81 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-2009 Gentoo Foundation +# Copyright 1999-2011 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.5 2009/12/25 15:37:30 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild,v 1.6 2011/12/14 15:28:47 jer Exp $ EAPI="2" inherit eutils autotools @@ -32,7 +32,10 @@ pkg_setup() { src_prepare() { epatch "${FILESDIR}"/${P}-gcc4.patch epatch "${WORKDIR}"/${P}-gcc44.patch - sed 's|var/cache|/var/lib/cache|' -i modules/shellcode-signatures/shellcode-signatures.cpp + sed -i modules/shellcode-signatures/shellcode-signatures.cpp \ + -e 's|var/cache|/var/lib/cache|' || die + sed -i configure.ac \ + -e 's|-R/usr/local/lib|-Wl,&|g' || die find . -name Makefile.am -exec sed 's: -Werror::' -i '{}' \; eautoreconf } |