1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

java/javavmwrapper: Add support for 18 as a version

This commit is contained in:
Greg Lewis 2022-04-16 07:47:18 -07:00
parent 58cf46db4d
commit 42d0730fd9
4 changed files with 21 additions and 14 deletions

View File

@ -1,7 +1,7 @@
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
PORTNAME= javavmwrapper
PORTVERSION= 2.7.8
PORTVERSION= 2.7.9
CATEGORIES= java
MASTER_SITES= # none
DISTFILES= # none

View File

@ -137,8 +137,10 @@ Currently allowed versions are
.Ql 16 ,
.Ql 16+ ,
.Ql 17 ,
.Ql 17+ ,
.Ql 18 ,
and
.Ql 17+ .
.Ql 18+ .
.It Ev JAVAVM_OPTS
The contents of this environment variable will be passed to the invoked
Java VM as options.

View File

@ -504,37 +504,40 @@ setJavaHome() {
for version in ${JAVA_VERSION}; do
case "${version}" in
*7+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 7 8 9 10 11 12 13 14 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 7 8 9 10 11 12 13 14 15 16 17 18"
;;
*8+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 8 9 10 11 12 13 14 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 8 9 10 11 12 13 14 15 16 17 18"
;;
*9+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 9 10 11 12 13 14 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 9 10 11 12 13 14 15 16 17 18"
;;
10+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 10 11 12 13 14 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 10 11 12 13 14 15 16 17 18"
;;
11+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 11 12 13 14 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 11 12 13 14 15 16 17 18"
;;
12+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 12 13 14 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 12 13 14 15 16 17 18"
;;
13+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 13 14 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 13 14 15 16 17 18"
;;
14+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 14 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 14 15 16 17 18"
;;
15+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 15 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 15 16 17 18"
;;
16+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 16 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 16 17 18"
;;
17+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 17"
_JAVAVM_VERSION="${_JAVAVM_VERSION} 17 18"
;;
18+)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 18"
;;
1.7)
_JAVAVM_VERSION="${_JAVAVM_VERSION} 7"

View File

@ -125,8 +125,10 @@ Currently allowed versions are
.Ql 16 ,
.Ql 16+ ,
.Ql 17 ,
.Ql 17+ ,
.Ql 18 ,
and
.Ql 17+ .
.Ql 18+ .
.It Ev JAVAVM_OPTS
The contents of this environment variable will be passed to the invoked
.Nm man