diff options
author | glewis <glewis@FreeBSD.org> | 2017-10-15 02:36:17 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2017-10-15 02:36:17 +0800 |
commit | e50aa0e2f4fb88c6db99a72ae1d7104518100061 (patch) | |
tree | 7069e969df77cb9cc1e83a7699b65440946d5d9d /java | |
parent | a18a3f3b9ef558799116a570a76ad6e542b79f19 (diff) | |
download | freebsd-ports-gnome-e50aa0e2f4fb88c6db99a72ae1d7104518100061.tar.gz freebsd-ports-gnome-e50aa0e2f4fb88c6db99a72ae1d7104518100061.tar.zst freebsd-ports-gnome-e50aa0e2f4fb88c6db99a72ae1d7104518100061.zip |
. Prepare for JDK9 support.
Diffstat (limited to 'java')
-rw-r--r-- | java/javavmwrapper/Makefile | 3 | ||||
-rw-r--r-- | java/javavmwrapper/src/javavmwrapper.sh | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/java/javavmwrapper/Makefile b/java/javavmwrapper/Makefile index 6b63bdff68f6..139e77ade64f 100644 --- a/java/javavmwrapper/Makefile +++ b/java/javavmwrapper/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= javavmwrapper -PORTVERSION= 2.5 -PORTREVISION= 2 +PORTVERSION= 2.6 CATEGORIES= java MASTER_SITES= # none DISTFILES= # none diff --git a/java/javavmwrapper/src/javavmwrapper.sh b/java/javavmwrapper/src/javavmwrapper.sh index e7490d377cd2..a60d8e5f09f4 100644 --- a/java/javavmwrapper/src/javavmwrapper.sh +++ b/java/javavmwrapper/src/javavmwrapper.sh @@ -501,13 +501,16 @@ setJavaHome() { for version in ${JAVA_VERSION}; do case "${version}" in 1.6+) - _JAVAVM_VERSION="${_JAVAVM_VERSION} 1.6 1.7 1.8" + _JAVAVM_VERSION="${_JAVAVM_VERSION} 1.6 1.7 1.8 1.9" ;; 1.7+) - _JAVAVM_VERSION="${_JAVAVM_VERSION} 1.7 1.8" + _JAVAVM_VERSION="${_JAVAVM_VERSION} 1.7 1.8 1.9" ;; 1.8+) - _JAVAVM_VERSION="${_JAVAVM_VERSION} 1.8" + _JAVAVM_VERSION="${_JAVAVM_VERSION} 1.8 1.9" + ;; + 1.9+) + _JAVAVM_VERSION="${_JAVAVM_VERSION} 1.9" ;; *) _JAVAVM_VERSION="${_JAVAVM_VERSION} ${version}" |