diff options
author | Adrian Almenar <strider@gentoo.org> | 2002-11-18 18:33:48 +0000 |
---|---|---|
committer | Adrian Almenar <strider@gentoo.org> | 2002-11-18 18:33:48 +0000 |
commit | c11c2a4238315f3b40f19dfbc25b50ef27df53a5 (patch) | |
tree | 78b8c7a2650dd8cbc998a2eb27222dd3d9b42c0a /dev-java | |
parent | changed ld -> gcc to fix sparc ( and other arch ) problems (diff) | |
download | gentoo-2-c11c2a4238315f3b40f19dfbc25b50ef27df53a5.tar.gz gentoo-2-c11c2a4238315f3b40f19dfbc25b50ef27df53a5.tar.bz2 gentoo-2-c11c2a4238315f3b40f19dfbc25b50ef27df53a5.zip |
Fixes #10061
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ant/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/ant/ant-1.5.1-r2.ebuild | 35 | ||||
-rw-r--r-- | dev-java/ant/files/1.5.1/ant | 2 | ||||
-rw-r--r-- | dev-java/ant/files/digest-ant-1.5.1-r2 | 1 |
4 files changed, 44 insertions, 2 deletions
diff --git a/dev-java/ant/ChangeLog b/dev-java/ant/ChangeLog index 46de3f8ddc37..0010ff90e963 100644 --- a/dev-java/ant/ChangeLog +++ b/dev-java/ant/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/ant # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ChangeLog,v 1.14 2002/11/03 01:43:52 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ChangeLog,v 1.15 2002/11/18 18:33:48 strider Exp $ + +*ant-1.5.1-r2 (18 Nov 2002) + + 18 Nov 2002; Adrian Almenar <strider@gentoo.org> ant-1.5.1-r2.ebuild files/digest-ant-1.5.1-r2: Added (Marked for Testing) + files/1.5.1/ant: Changed + User Classpath get overwrited by "gentooized" ant script, Fixes bug #10061. *ant-1.5.1-r1 (02 Nov 2002) diff --git a/dev-java/ant/ant-1.5.1-r2.ebuild b/dev-java/ant/ant-1.5.1-r2.ebuild new file mode 100644 index 000000000000..fdead31622e3 --- /dev/null +++ b/dev-java/ant/ant-1.5.1-r2.ebuild @@ -0,0 +1,35 @@ +# 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-r2.ebuild,v 1.1 2002/11/18 18:33:48 strider Exp $ + +S=${WORKDIR}/jakarta-ant-${PV} +DESCRIPTION="Build system for Java" +SRC_URI="http://jakarta.apache.org/builds/jakarta-ant/release/v${PV}/src/jakarta-ant-${PV}-src.tar.gz" +HOMEPAGE="http://jakarta.apache.org" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~x86 ~ppc" +DEPEND="virtual/glibc + >=virtual/jdk-1.3" + +src_compile() { + export JAVA_HOME=${JDK_HOME} + if [ `arch` == "ppc" ] ; then + # We're compiling _ON_ PPC + export THREADS_FLAG="green" + fi + ./build.sh -Ddist.dir=${D}/usr/share/ant || die +} + +src_install() { + cp ${FILESDIR}/${PV}/ant src/ant + + exeinto /usr/bin + doexe src/ant + + dojar build/lib/*.jar lib/*.jar + + dodoc LICENSE LICENSE.* README WHATSNEW KEYS + dohtml welcome.html + dohtml -r docs/* +} diff --git a/dev-java/ant/files/1.5.1/ant b/dev-java/ant/files/1.5.1/ant index 463138113f9e..4f644189f746 100644 --- a/dev-java/ant/files/1.5.1/ant +++ b/dev-java/ant/files/1.5.1/ant @@ -11,7 +11,7 @@ else if [ -z $JAVA_HOME ] ; then JAVA_HOME=`java-config --jre-home` fi - CLASSPATH=`java-config --classpath` + CLASSPATH=`java-config --classpath`:${CLASSPATH} fi if [ -z $JAVA_HOME ] ; then diff --git a/dev-java/ant/files/digest-ant-1.5.1-r2 b/dev-java/ant/files/digest-ant-1.5.1-r2 new file mode 100644 index 000000000000..1a73f3d83e87 --- /dev/null +++ b/dev-java/ant/files/digest-ant-1.5.1-r2 @@ -0,0 +1 @@ +MD5 a9d1d1cb1c042ef2fffc21f31d96d4a9 jakarta-ant-1.5.1-src.tar.gz 4977991 |