summaryrefslogtreecommitdiff
path: root/devel/antlr/files/antlr.sh
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-11-15 23:59:52 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-11-15 23:59:52 +0000
commit397de7caa2daaa1144cddbfb10fa2e5d1fefc0d9 (patch)
treeb4c6e240941c786fc9e68228a806767844db1ca9 /devel/antlr/files/antlr.sh
parent. Fix the build for gcc < 3.2 (e.g. 2.95.4 on 4.x) by using <istream.h> (diff)
. Antlr now seems to require Java 1.4 or better (certainly the build fails
with 1.3). So fix the build for 4.x by requiring Java 1.4+. . Reflect this requirement in antlr.sh.
Notes
Notes: svn path=/head/; revision=121727
Diffstat (limited to 'devel/antlr/files/antlr.sh')
-rw-r--r--devel/antlr/files/antlr.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/antlr/files/antlr.sh b/devel/antlr/files/antlr.sh
index 3bc897c6cbf5..1065d73c14fb 100644
--- a/devel/antlr/files/antlr.sh
+++ b/devel/antlr/files/antlr.sh
@@ -2,4 +2,4 @@
#
# $FreeBSD$
-"%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/antlr.jar" antlr.Tool "$@"
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/antlr.jar" antlr.Tool "$@"