summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-20 19:46:54 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-20 19:46:54 +0000
commit223835112fdc916eb703d00810fd7c4fc5d8e0b3 (patch)
tree7cb0f5de04a785f8ade58794f486f600571dd684
parentDelete no longer needed call to sed, which wasn't changing any files. (diff)
downloadgentoo-2-223835112fdc916eb703d00810fd7c4fc5d8e0b3.tar.gz
gentoo-2-223835112fdc916eb703d00810fd7c4fc5d8e0b3.tar.bz2
gentoo-2-223835112fdc916eb703d00810fd7c4fc5d8e0b3.zip
Respect LDFLAGS (bug #336535).
(Portage version: 2.2_rc84/cvs/Linux i686)
-rw-r--r--dev-util/bunny/ChangeLog9
-rw-r--r--dev-util/bunny/bunny-0.93-r1.ebuild41
2 files changed, 48 insertions, 2 deletions
diff --git a/dev-util/bunny/ChangeLog b/dev-util/bunny/ChangeLog
index fc368f20f3af..2e689c785785 100644
--- a/dev-util/bunny/ChangeLog
+++ b/dev-util/bunny/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/bunny
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bunny/ChangeLog,v 1.3 2009/05/04 14:32:15 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bunny/ChangeLog,v 1.4 2010/09/20 19:46:54 jer Exp $
+
+*bunny-0.93-r1 (20 Sep 2010)
+
+ 20 Sep 2010; Jeroen Roovers <jer@gentoo.org> +bunny-0.93-r1.ebuild:
+ Respect LDFLAGS (bug #336535).
*bunny-0.93 (04 May 2009)
diff --git a/dev-util/bunny/bunny-0.93-r1.ebuild b/dev-util/bunny/bunny-0.93-r1.ebuild
new file mode 100644
index 000000000000..e986f8bdcb20
--- /dev/null
+++ b/dev-util/bunny/bunny-0.93-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bunny/bunny-0.93-r1.ebuild,v 1.1 2010/09/20 19:46:54 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="A small general purpose fuzzer for C programs."
+HOMEPAGE="http://code.google.com/p/bunny-the-fuzzer"
+SRC_URI="http://bunny-the-fuzzer.googlecode.com/files/${P}.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i Makefile -e '/ -o /s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile"
+}
+
+src_compile() {
+ tc-export CC
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_test() {
+ emake test1 || die "emake test1 failed"
+ emake test2 || die "emake test2 failed"
+ emake test3 || die "emake test3 failed"
+}
+
+src_install() {
+ dobin ${PN}-{exec,flow,gcc,main,trace} || die "dobin failed"
+ dodoc CHANGES README
+}