summaryrefslogtreecommitdiff
path: root/java/eclipse-ecj
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse-ecj')
-rw-r--r--java/eclipse-ecj/Makefile2
-rw-r--r--java/eclipse-ecj/files/ecj.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/eclipse-ecj/Makefile b/java/eclipse-ecj/Makefile
index 886cf167dff1..21e53222c2a8 100644
--- a/java/eclipse-ecj/Makefile
+++ b/java/eclipse-ecj/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ecj
PORTVERSION= 4.4.2
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= http://download.eclipse.org/eclipse/downloads/drops4/R-${PORTVERSION}-${DROPDATE}/
PKGNAMEPREFIX= eclipse-
@@ -20,7 +21,6 @@ EXTRACT_AFTER_ARGS= -C ${WRKSRC}
USE_ANT= yes
USE_JAVA= yes
-JAVA_VERSION= 1.6+
SUB_FILES= ecj.sh
SUB_LIST= PORTVERSION=${PORTVERSION}
NO_WRKSUBDIR= yes
diff --git a/java/eclipse-ecj/files/ecj.sh.in b/java/eclipse-ecj/files/ecj.sh.in
index bfbba17fc3d2..c46240556ed9 100644
--- a/java/eclipse-ecj/files/ecj.sh.in
+++ b/java/eclipse-ecj/files/ecj.sh.in
@@ -1,3 +1,3 @@
#!/bin/sh
-JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/ecj-%%PORTVERSION%%.jar" org.eclipse.jdt.internal.compiler.batch.Main "${@:--help}"
+"%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/ecj-%%PORTVERSION%%.jar" org.eclipse.jdt.internal.compiler.batch.Main "${@:--help}"