diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-17 03:39:47 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-17 03:39:47 +0000 |
commit | b7a993e14a71cab9a83294aa22258d846c4e171b (patch) | |
tree | 00bde563aeb8b8519b52919346095c76bc0c20b8 /net-analyzer/webfuzzer | |
parent | Fix quoting issues. Set RDEPEND. (diff) | |
download | gentoo-2-b7a993e14a71cab9a83294aa22258d846c4e171b.tar.gz gentoo-2-b7a993e14a71cab9a83294aa22258d846c4e171b.tar.bz2 gentoo-2-b7a993e14a71cab9a83294aa22258d846c4e171b.zip |
Respect LDFLAGS. Remove -g from CFLAGS. Remove pointless CC sed script.
(Portage version: 2.2_rc82/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/webfuzzer')
-rw-r--r-- | net-analyzer/webfuzzer/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/webfuzzer/webfuzzer-0.2.0-r1.ebuild (renamed from net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild) | 19 |
2 files changed, 17 insertions, 12 deletions
diff --git a/net-analyzer/webfuzzer/ChangeLog b/net-analyzer/webfuzzer/ChangeLog index 2e8a9f0ee4d3..0ecb372765c1 100644 --- a/net-analyzer/webfuzzer/ChangeLog +++ b/net-analyzer/webfuzzer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/webfuzzer -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/webfuzzer/ChangeLog,v 1.3 2008/11/08 15:16:59 cedk Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/webfuzzer/ChangeLog,v 1.4 2010/09/17 03:39:47 jer Exp $ + +*webfuzzer-0.2.0-r1 (17 Sep 2010) + + 17 Sep 2010; Jeroen Roovers <jer@gentoo.org> -webfuzzer-0.2.0.ebuild, + +webfuzzer-0.2.0-r1.ebuild: + Respect LDFLAGS. Remove -g from CFLAGS. Remove pointless CC sed script. 08 Nov 2008; Cédric Krier <cedk@gentoo.org> webfuzzer-0.2.0.ebuild: Fix C(XX)FLAGS and CC for bug #240870 diff --git a/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild b/net-analyzer/webfuzzer/webfuzzer-0.2.0-r1.ebuild index 0a3f78ef6bda..0f29d0572740 100644 --- a/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild +++ b/net-analyzer/webfuzzer/webfuzzer-0.2.0-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/webfuzzer/webfuzzer-0.2.0.ebuild,v 1.3 2008/11/08 15:16:59 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/webfuzzer/webfuzzer-0.2.0-r1.ebuild,v 1.1 2010/09/17 03:39:47 jer Exp $ + +EAPI="2" inherit eutils toolchain-funcs @@ -18,14 +20,11 @@ RDEPEND="${DEPEND}" S=${WORKDIR}/devel -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i \ - -e "s/CFLAGS=-g -O3/CFLAGS+=-g/" \ - -e "s/CC=/CC?=/" \ - Makefile || die "sed failed" +src_prepare() { + sed -i Makefile \ + -e 's|CFLAGS=-g -O3|CFLAGS+=|' \ + -e 's| -o |$(LDFLAGS) -o|g' \ + || die "sed Makefile" } src_compile() { |