summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2005-07-25 20:58:31 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2005-07-25 20:58:31 +0000
commit795e66adeb8ad7b2c1aded0bf1276268e15819a8 (patch)
tree3f75588dc3cfe4d6944e9b92924809230091fce5 /dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild
parentthoggen initial commit (diff)
downloadhistorical-795e66adeb8ad7b2c1aded0bf1276268e15819a8.tar.gz
historical-795e66adeb8ad7b2c1aded0bf1276268e15819a8.tar.bz2
historical-795e66adeb8ad7b2c1aded0bf1276268e15819a8.zip
Added back Jikes support.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild')
-rw-r--r--dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild b/dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild
index f15c415504bf..4b8474654ce7 100644
--- a/dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild
+++ b/dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild,v 1.4 2005/07/24 22:57:59 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/eclipse-sdk-3.1-r1.ebuild,v 1.5 2005/07/25 20:58:31 karltk Exp $
inherit eutils java-utils
@@ -8,7 +8,7 @@ MY_A="eclipse-sourceBuild-srcIncluded-3.1.zip"
DESCRIPTION="Eclipse Tools Platform"
HOMEPAGE="http://www.eclipse.org/"
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/R-3.1-200506271435/${MY_A}"
-IUSE="gnome mozilla firefox nosrc nodoc atk"
+IUSE="gnome mozilla firefox jikes nosrc nodoc atk"
SLOT="3.1"
LICENSE="CPL-1.0"
KEYWORDS="~x86 ~ppc ~amd64"
@@ -21,7 +21,8 @@ RDEPEND=">=virtual/jre-1.4.2
gnome? ( =gnome-base/gnome-vfs-2* =gnome-base/libgnomeui-2* )"
DEPEND="${RDEPEND}
- !jikes? ( >=virtual/jdk-1.4.2 )
+ >=virtual/jdk-1.4.2
+ jikes? ( >=dev-java/jikes-1.21 )
>=dev-java/ant-1.6.2
>=sys-apps/findutils-4.1.7
app-arch/unzip
@@ -98,8 +99,10 @@ src_compile() {
${use_gtk} && use mozilla && setup-mozilla-opts
+ use jikes && bootstrap_ant_opts="-Dbuild.compiler=jikes"
+
einfo "Bootstrapping bootstrap ecj"
- ant -q -f jdtcoresrc/compilejdtcorewithjavac.xml || die "Failed to bootstrap ecj"
+ ant ${bootstrap_ant_opts} -q -f jdtcoresrc/compilejdtcorewithjavac.xml || die "Failed to bootstrap ecj"
einfo "Bootstrapping ecj"
ant -lib jdtcoresrc/ecj.jar -q -f jdtcoresrc/compilejdtcore.xml || die "Failed to bootstrap ecj"