summaryrefslogtreecommitdiff
path: root/textproc/xincluder
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xincluder')
-rw-r--r--textproc/xincluder/Makefile2
-rw-r--r--textproc/xincluder/files/xincluder.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/textproc/xincluder/Makefile b/textproc/xincluder/Makefile
index ec6a53acead0..c4647f82223a 100644
--- a/textproc/xincluder/Makefile
+++ b/textproc/xincluder/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom \
java:${PORTSDIR}/java/javavmwrapper
USE_JAVA= yes
-JAVA_VERSION= 1.2+
+JAVA_VERSION= 1.5+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/textproc/xincluder/files/xincluder.sh.in b/textproc/xincluder/files/xincluder.sh.in
index ea0abe794e50..4ed46d6e30e6 100644
--- a/textproc/xincluder/files/xincluder.sh.in
+++ b/textproc/xincluder/files/xincluder.sh.in
@@ -12,4 +12,4 @@ case "${IAM}" in
*) echo "ERROR!" ; false ;;
esac
-JAVA_VERSION="1.2+" "%%LOCALBASE%%/bin/java" -cp "`"%%LOCALBASE%%/bin/classpath"`" "com.elharo.xml.xinclude.${MAIN_CLASS}" "$@"
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -cp "`"%%LOCALBASE%%/bin/classpath"`" "com.elharo.xml.xinclude.${MAIN_CLASS}" "$@"