diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-09-16 17:13:39 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-09-16 17:13:39 +0000 |
commit | 8394385e632a9e5fd2cb9415913f8ae810362ae5 (patch) | |
tree | f8d9977ed03faba84c7f097a3e68e6c82c5e30fd /app-benchmarks/tiobench | |
parent | stable on ppc (Bug #147777) (diff) | |
download | gentoo-2-8394385e632a9e5fd2cb9415913f8ae810362ae5.tar.gz gentoo-2-8394385e632a9e5fd2cb9415913f8ae810362ae5.tar.bz2 gentoo-2-8394385e632a9e5fd2cb9415913f8ae810362ae5.zip |
Add LDFLAGS support.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'app-benchmarks/tiobench')
-rw-r--r-- | app-benchmarks/tiobench/ChangeLog | 8 | ||||
-rw-r--r-- | app-benchmarks/tiobench/files/0.3.3-LDFLAGS.patch | 12 | ||||
-rw-r--r-- | app-benchmarks/tiobench/files/digest-tiobench-0.3.3-r2 | 2 | ||||
-rw-r--r-- | app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild | 14 |
4 files changed, 30 insertions, 6 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/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() { |