summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-09-16 17:13:39 +0000
committerSven Wegener <swegener@gentoo.org>2006-09-16 17:13:39 +0000
commit596199f8b2e9521e02d65a08a608f1eae5e72f67 (patch)
tree2367f9c1e5330f9de0c30d950d01021f4702809c /app-benchmarks
parentstable on ppc (Bug #147777) (diff)
downloadhistorical-596199f8b2e9521e02d65a08a608f1eae5e72f67.tar.gz
historical-596199f8b2e9521e02d65a08a608f1eae5e72f67.tar.bz2
historical-596199f8b2e9521e02d65a08a608f1eae5e72f67.zip
Add LDFLAGS support.
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/tiobench/ChangeLog8
-rw-r--r--app-benchmarks/tiobench/Manifest35
-rw-r--r--app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch12
-rw-r--r--app-benchmarks/tiobench/files/digest-tiobench-0.3.3-r22
-rw-r--r--app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild14
5 files changed, 57 insertions, 14 deletions
diff --git a/app-benchmarks/tiobench/ChangeLog b/app-benchmarks/tiobench/ChangeLog
index b6cb5d9b6fd8..55de4ebc82dd 100644
--- a/app-benchmarks/tiobench/ChangeLog
+++ b/app-benchmarks/tiobench/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-benchmarks/tiobench
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/tiobench/ChangeLog,v 1.13 2005/05/16 17:56:56 swegener Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/tiobench/ChangeLog,v 1.14 2006/09/16 17:13:39 swegener Exp $
+
+ 16 Sep 2006; Sven Wegener <swegener@gentoo.org>
+ +files/0.3.3-LDFLAGS.patch, tiobench-0.3.3-r2.ebuild:
+ Add LDFLAGS support.
16 May 2005; Sven Wegener <swegener@gentoo.org> -tiobench-0.3.3-r1.ebuild,
tiobench-0.3.3-r2.ebuild:
diff --git a/app-benchmarks/tiobench/Manifest b/app-benchmarks/tiobench/Manifest
index ee2b03aa330e..81c1f52ba6ba 100644
--- a/app-benchmarks/tiobench/Manifest
+++ b/app-benchmarks/tiobench/Manifest
@@ -1,15 +1,34 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 a5ca2fdb800bd1382b2223cfe0c6eef9 tiobench-0.3.3-r2.ebuild 994
-MD5 af5f32e0ba0e47774b3919734818279e ChangeLog 1646
-MD5 fee6e15994a6028b5d4ca280c4cabe09 metadata.xml 303
-MD5 b0e08c271d30b5da41b55be795a8773e files/digest-tiobench-0.3.3-r2 65
+AUX 0.3.3-LDFLAGS.patch 470 RMD160 aa1b715bd8dcc8b64dce0c1942e35c1af67ed071 SHA1 686114b0786122b5fb83ad8018a9ccd464b5e234 SHA256 56498d2262bb8af1e07b8fcde6f2bfae35fd1f20da82cbd96855ead2d8d4fe96
+MD5 153fd0b020db158a941d4ea911376512 files/0.3.3-LDFLAGS.patch 470
+RMD160 aa1b715bd8dcc8b64dce0c1942e35c1af67ed071 files/0.3.3-LDFLAGS.patch 470
+SHA256 56498d2262bb8af1e07b8fcde6f2bfae35fd1f20da82cbd96855ead2d8d4fe96 files/0.3.3-LDFLAGS.patch 470
+AUX 0.3.3-column-description-fix.patch 1032 RMD160 390244cd377779c3e3a7e17f9ba211478a751fc5 SHA1 3dbf11db3510db95479521019ec2fbe8bbbf15e9 SHA256 657c78edb76a40367ad026cbd5a195d8a36dfc4ad6c024524f39792120efdfe8
MD5 848cb30052a12084109f307bd7cf3cfe files/0.3.3-column-description-fix.patch 1032
+RMD160 390244cd377779c3e3a7e17f9ba211478a751fc5 files/0.3.3-column-description-fix.patch 1032
+SHA256 657c78edb76a40367ad026cbd5a195d8a36dfc4ad6c024524f39792120efdfe8 files/0.3.3-column-description-fix.patch 1032
+DIST tiobench-0.3.3.tar.gz 28282 RMD160 4eaffaf48458aebc7c5320dcac327f8d13213925 SHA1 a77a3c26c029a958c395a5a9e9e1fcb8e3b7730f SHA256 8ad011059a35ac70cdb5e3d3999ceee44a8e8e9078926844b0685b7ea9db2bcc
+EBUILD tiobench-0.3.3-r2.ebuild 1077 RMD160 cf2f26f5dc5c88ac226191bf9601d07962acd6dd SHA1 c63126a2b33722307becd2a51ba11680cc640400 SHA256 046bf9eb888495c7667acbd57130b6464be21bdb785c705e2544e3200d642d2c
+MD5 9378db500957ec96eb087461770abdaf tiobench-0.3.3-r2.ebuild 1077
+RMD160 cf2f26f5dc5c88ac226191bf9601d07962acd6dd tiobench-0.3.3-r2.ebuild 1077
+SHA256 046bf9eb888495c7667acbd57130b6464be21bdb785c705e2544e3200d642d2c tiobench-0.3.3-r2.ebuild 1077
+MISC ChangeLog 1776 RMD160 80d010ac359d7735c39ac827ec9c06ae1bfb2446 SHA1 5e0ff0fe05d51d0a74f98c3945389be95e3dfed4 SHA256 489384070800c29023b6b00ed13b44d8f8ea220294762ae1911934d8a5881225
+MD5 a5a34066c05a07c040bff8253ec3f834 ChangeLog 1776
+RMD160 80d010ac359d7735c39ac827ec9c06ae1bfb2446 ChangeLog 1776
+SHA256 489384070800c29023b6b00ed13b44d8f8ea220294762ae1911934d8a5881225 ChangeLog 1776
+MISC metadata.xml 303 RMD160 428b21f484596242b9fa1a661036deba38a37f5d SHA1 6a611ce605af4aad8b26ec906525ca8a3cf92c60 SHA256 881198f8abbd9947a66c04de6e286ec442cfa2b892afd741f0c1fc32d7db9f22
+MD5 fee6e15994a6028b5d4ca280c4cabe09 metadata.xml 303
+RMD160 428b21f484596242b9fa1a661036deba38a37f5d metadata.xml 303
+SHA256 881198f8abbd9947a66c04de6e286ec442cfa2b892afd741f0c1fc32d7db9f22 metadata.xml 303
+MD5 88c72757ffa5f3de0283b23ee9e3c6a9 files/digest-tiobench-0.3.3-r2 241
+RMD160 37e5ec5da38de8ed318ae02020c0eae59abb1e02 files/digest-tiobench-0.3.3-r2 241
+SHA256 ed9b86feec46fef2ec59bf7f2ee9ef78f30ac1a24e46d527e66cd0c823f41f1e files/digest-tiobench-0.3.3-r2 241
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFCiN79I1lqEGTUzyQRArI1AJ9kChvYfxjJztbz12UxFs3GH0nSMwCfaU63
-iBZzmv4b2KHMK0HT6H7vPq8=
-=Trp6
+iD8DBQFFDDB+I1lqEGTUzyQRAtWzAKC/Hova/8Jt49xIk8p+dX/Yr5pd6gCeIhaX
+70x20tfPZMainnSE7eZG1SU=
+=djVN
-----END PGP SIGNATURE-----
diff --git a/app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch b/app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch
new file mode 100644
index 000000000000..9145ae47044a
--- /dev/null
+++ b/app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch
@@ -0,0 +1,12 @@
+diff -Nur tiobench-0.3.3.orig/Makefile tiobench-0.3.3/Makefile
+--- tiobench-0.3.3.orig/Makefile 2002-03-13 20:22:55.000000000 +0000
++++ tiobench-0.3.3/Makefile 2006-09-16 17:07:21.181644608 +0000
+@@ -34,7 +34,7 @@
+ $(CC) -c $(CFLAGS) $(DEFINES) tiotest.c -o tiotest.o
+
+ $(EXE): tiotest.o crc32.o
+- $(LINK) -o $(EXE) tiotest.o crc32.o -lpthread
++ $(LINK) -o $(EXE) $(LDFLAGS) tiotest.o crc32.o -lpthread
+ @echo
+ @echo "./tiobench.pl --help for usage options"
+ @echo
diff --git a/app-benchmarks/tiobench/files/digest-tiobench-0.3.3-r2 b/app-benchmarks/tiobench/files/digest-tiobench-0.3.3-r2
index 20ba79163de5..706d955b54dc 100644
--- a/app-benchmarks/tiobench/files/digest-tiobench-0.3.3-r2
+++ b/app-benchmarks/tiobench/files/digest-tiobench-0.3.3-r2
@@ -1 +1,3 @@
MD5 bf485bf820e693c79e6bd2a38702a128 tiobench-0.3.3.tar.gz 28282
+RMD160 4eaffaf48458aebc7c5320dcac327f8d13213925 tiobench-0.3.3.tar.gz 28282
+SHA256 8ad011059a35ac70cdb5e3d3999ceee44a8e8e9078926844b0685b7ea9db2bcc tiobench-0.3.3.tar.gz 28282
diff --git a/app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild b/app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild
index 4e6dfd6a991a..f4e208e9ea89 100644
--- a/app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild
+++ b/app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild,v 1.2 2005/05/16 17:56:56 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild,v 1.3 2006/09/16 17:13:39 swegener Exp $
inherit eutils toolchain-funcs
@@ -21,7 +21,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/0.3.3-column-description-fix.patch
+ epatch "${FILESDIR}"/${PV}-column-description-fix.patch
+ epatch "${FILESDIR}"/${PV}-LDFLAGS.patch
sed -i \
-e 's:/usr/local/bin:/usr/sbin:' tiobench.pl \
@@ -29,7 +30,12 @@ src_unpack() {
}
src_compile() {
- emake CC="$(tc-getCC)" DEFINES="-DLARGEFILES" CFLAGS="${CFLAGS}" || die "emake failed"
+ emake \
+ CC="$(tc-getCC)" \
+ DEFINES="-DLARGEFILES" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
}
src_install() {