diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-11-01 23:22:05 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-11-01 23:22:05 +0000 |
commit | b546d20ccf043a430e74b8bdca4ce8dd0458d595 (patch) | |
tree | 8f08650371b36c4bfd7a388be44b0569f9c98707 | |
parent | Ahem.. (diff) | |
download | gentoo-2-b546d20ccf043a430e74b8bdca4ce8dd0458d595.tar.gz gentoo-2-b546d20ccf043a430e74b8bdca4ce8dd0458d595.tar.bz2 gentoo-2-b546d20ccf043a430e74b8bdca4ce8dd0458d595.zip |
Improved PPC detection.
-rw-r--r-- | dev-java/ant/ant-1.5.1-r1.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-java/ant/ant-1.5.1-r1.ebuild b/dev-java/ant/ant-1.5.1-r1.ebuild index 4d59bb64eb44..a10addb07d76 100644 --- a/dev-java/ant/ant-1.5.1-r1.ebuild +++ b/dev-java/ant/ant-1.5.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.5.1-r1.ebuild,v 1.2 2002/11/01 23:21:14 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.5.1-r1.ebuild,v 1.3 2002/11/01 23:22:05 karltk Exp $ S=${WORKDIR}/jakarta-ant-${PV} DESCRIPTION="Build system for Java" @@ -14,7 +14,10 @@ DEPEND="virtual/glibc src_compile() { export JAVA_HOME=${JDK_HOME} - export THREADS_FLAG="green" + if [ `arch` == "ppc" ] ; then + # We're compiling _ON_ PPC + export THREADS_FLAG="green" + fi ./build.sh -Ddist.dir=${D}/usr/share/ant || die } |