summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-10-12 20:23:06 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-10-12 20:23:06 +0000
commit1066d8d013fb3ee274b5fc74a756f7d5eb543562 (patch)
treebec3f1ccd8594f173328156868f3b94914018073 /app-benchmarks
parentstable ppc, bug #195257 (diff)
downloadgentoo-2-1066d8d013fb3ee274b5fc74a756f7d5eb543562.tar.gz
gentoo-2-1066d8d013fb3ee274b5fc74a756f7d5eb543562.tar.bz2
gentoo-2-1066d8d013fb3ee274b5fc74a756f7d5eb543562.zip
as-needed fix thanks to Andrei Slavoiu <ansla80@yahoo.com> in bug 195144
(Portage version: 2.1.3.12)
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/bashmark/ChangeLog6
-rw-r--r--app-benchmarks/bashmark/bashmark-0.6.2.ebuild12
-rw-r--r--app-benchmarks/bashmark/files/bashmark-0.6.2-as-needed.patch12
3 files changed, 27 insertions, 3 deletions
diff --git a/app-benchmarks/bashmark/ChangeLog b/app-benchmarks/bashmark/ChangeLog
index 3ca22cee734a..3d7fc7463d2a 100644
--- a/app-benchmarks/bashmark/ChangeLog
+++ b/app-benchmarks/bashmark/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-benchmarks/bashmark
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bashmark/ChangeLog,v 1.8 2007/02/09 07:09:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bashmark/ChangeLog,v 1.9 2007/10/12 20:23:05 genstef Exp $
+
+ 12 Oct 2007; Stefan Schweizer <genstef@gentoo.org>
+ +files/bashmark-0.6.2-as-needed.patch, bashmark-0.6.2.ebuild:
+ as-needed fix thanks to Andrei Slavoiu <ansla80@yahoo.com> in bug 195144
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/app-benchmarks/bashmark/bashmark-0.6.2.ebuild b/app-benchmarks/bashmark/bashmark-0.6.2.ebuild
index d2a261f3ffb3..ca364c5b1a2d 100644
--- a/app-benchmarks/bashmark/bashmark-0.6.2.ebuild
+++ b/app-benchmarks/bashmark/bashmark-0.6.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bashmark/bashmark-0.6.2.ebuild,v 1.1 2005/07/21 16:01:21 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bashmark/bashmark-0.6.2.ebuild,v 1.2 2007/10/12 20:23:05 genstef Exp $
+
+inherit eutils
DESCRIPTION="Geno's cross platform benchmarking suite"
HOMEPAGE="http://bashmark.coders-net.de"
@@ -11,6 +13,12 @@ SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/bashmark-0.6.2-as-needed.patch
+}
+
src_install() {
dobin bashmark
dodoc ChangeLog
diff --git a/app-benchmarks/bashmark/files/bashmark-0.6.2-as-needed.patch b/app-benchmarks/bashmark/files/bashmark-0.6.2-as-needed.patch
new file mode 100644
index 000000000000..6c01fd934e5d
--- /dev/null
+++ b/app-benchmarks/bashmark/files/bashmark-0.6.2-as-needed.patch
@@ -0,0 +1,12 @@
+diff -ru bashmark-0.6.2-orig/makefile bashmark-0.6.2/makefile
+--- bashmark-0.6.2-orig/makefile 2007-10-08 23:01:06.000000000 +0300
++++ bashmark-0.6.2/makefile 2007-10-08 23:01:22.000000000 +0300
+@@ -10,7 +10,7 @@
+ BIN = bashmark
+
+ $(BIN): $(OBJ)
+- $(LD) $(LDFLAGS) $(CXXFLAGS) $(OBJ) -o $(BIN)
++ $(LD) $(CXXFLAGS) $(OBJ) $(LDFLAGS) -o $(BIN)
+
+
+ Benchmark.o: