summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2003-08-15 06:01:00 +0000
committerAdrian Almenar <strider@gentoo.org>2003-08-15 06:01:00 +0000
commitd48a45b8042a7cb4e96787aa3e622606f9161adf (patch)
tree95f8a6fb5ccee80128da10f8ea61ea13d112d40a /dev-java/antlr/antlr-2.7.2.ebuild
parentFixes to bug 21735 (diff)
downloadgentoo-2-d48a45b8042a7cb4e96787aa3e622606f9161adf.tar.gz
gentoo-2-d48a45b8042a7cb4e96787aa3e622606f9161adf.tar.bz2
gentoo-2-d48a45b8042a7cb4e96787aa3e622606f9161adf.zip
Fixes bug 21887
Diffstat (limited to 'dev-java/antlr/antlr-2.7.2.ebuild')
-rw-r--r--dev-java/antlr/antlr-2.7.2.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-java/antlr/antlr-2.7.2.ebuild b/dev-java/antlr/antlr-2.7.2.ebuild
index 64c30f3541f8..947ff668840d 100644
--- a/dev-java/antlr/antlr-2.7.2.ebuild
+++ b/dev-java/antlr/antlr-2.7.2.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.2.ebuild,v 1.3 2003/04/06 02:25:48 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.2.ebuild,v 1.4 2003/08/15 06:00:29 strider Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A parser generator for Java and C++, written in Java"
SRC_URI="http://www.antlr.org/download/${P}.tar.gz"
HOMEPAGE="http://www.antlr.org"
DEPEND=">=virtual/jdk-1.2
- >=dev-java/jikes-1.13"
+ jikes? ( >=dev-java/jikes-1.13 )"
SLOT="2"
LICENSE="ANTLR"
KEYWORDS="x86"
-IUSE=""
+IUSE="jikes"
src_unpack() {
unpack ${A}
@@ -19,7 +19,9 @@ src_unpack() {
}
src_compile() {
- export JAVAC=jikes
+ if [ -n "`use jikes`" ] ; then
+ export JAVAC=jikes
+ fi
echo $CLASSPATH
econf || die
make antlr.jar antlr.debug.jar antlrall.jar all || die