diff options
author | 2006-09-16 17:13:39 +0000 | |
---|---|---|
committer | 2006-09-16 17:13:39 +0000 | |
commit | 596199f8b2e9521e02d65a08a608f1eae5e72f67 (patch) | |
tree | 2367f9c1e5330f9de0c30d950d01021f4702809c /app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild | |
parent | stable on ppc (Bug #147777) (diff) | |
download | historical-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/tiobench/tiobench-0.3.3-r2.ebuild')
-rw-r--r-- | app-benchmarks/tiobench/tiobench-0.3.3-r2.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
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() { |