Add support for openjdk15
This commit is contained in:
parent
1f7fde3179
commit
2c0b72e32c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547935
@ -26,7 +26,7 @@ Java_Include_MAINTAINER= java@FreeBSD.org
|
||||
# JAVA_VERSION List of space-separated suitable java versions for the
|
||||
# port. An optional "+" allows you to specify a range of
|
||||
# versions. (allowed values: 7[+] 8[+] 11[+] 12[+] 13[+]
|
||||
# 14[+])
|
||||
# 14[+] 15[+])
|
||||
#
|
||||
# JAVA_OS List of space-separated suitable JDK port operating systems
|
||||
# for the port. (allowed values: native linux)
|
||||
@ -163,7 +163,7 @@ SUB_LIST+= JAVA_OS="${JAVA_OS}"
|
||||
. endif
|
||||
|
||||
# The complete list of Java versions, os and vendors supported.
|
||||
__JAVA_VERSION_LIST= 7 8 11 12 13 14
|
||||
__JAVA_VERSION_LIST= 7 8 11 12 13 14 15
|
||||
_JAVA_VERSION_LIST= ${__JAVA_VERSION_LIST} ${__JAVA_VERSION_LIST:S/$/+/}
|
||||
_JAVA_OS_LIST= native linux
|
||||
_JAVA_VENDOR_LIST= openjdk oracle
|
||||
@ -182,6 +182,8 @@ _JAVA_PORT_NATIVE_OPENJDK_JDK_13_INFO= PORT=java/openjdk13 HOME=${LOCALBASE}/
|
||||
VERSION=13 OS=native VENDOR=openjdk
|
||||
_JAVA_PORT_NATIVE_OPENJDK_JDK_14_INFO= PORT=java/openjdk14 HOME=${LOCALBASE}/openjdk14 \
|
||||
VERSION=14 OS=native VENDOR=openjdk
|
||||
_JAVA_PORT_NATIVE_OPENJDK_JDK_15_INFO= PORT=java/openjdk15 HOME=${LOCALBASE}/openjdk15 \
|
||||
VERSION=15 OS=native VENDOR=openjdk
|
||||
_JAVA_PORT_LINUX_ORACLE_JDK_8_INFO= PORT=java/linux-oracle-jdk18 HOME=${LOCALBASE}/linux-oracle-jdk1.8.0 \
|
||||
VERSION=8 OS=linux VENDOR=oracle
|
||||
|
||||
@ -200,6 +202,7 @@ __JAVA_PORTS_ALL= \
|
||||
JAVA_PORT_NATIVE_OPENJDK_JDK_12 \
|
||||
JAVA_PORT_NATIVE_OPENJDK_JDK_13 \
|
||||
JAVA_PORT_NATIVE_OPENJDK_JDK_14 \
|
||||
JAVA_PORT_NATIVE_OPENJDK_JDK_15 \
|
||||
JAVA_PORT_NATIVE_OPENJDK_JDK_7 \
|
||||
JAVA_PORT_LINUX_ORACLE_JDK_8
|
||||
_JAVA_PORTS_ALL= ${JAVA_PREFERRED_PORTS} \
|
||||
@ -275,7 +278,7 @@ JAVA_RUN= jre
|
||||
. undef _JAVA_PORTS_INSTALLED
|
||||
. undef _JAVA_PORTS_POSSIBLE
|
||||
. if defined(JAVA_VERSION)
|
||||
_JAVA_VERSION= ${JAVA_VERSION:S/1.7+/1.7 1.8+/:S/1.8+/1.8 11+/:S/1.7/7/:S/1.8/8/:S/7+/7 8+/:S/8+/8 11+/:S/11+/11 12+/:S/12+/12 13+/:S/13+/13 14+/:S/14+/14/}
|
||||
_JAVA_VERSION= ${JAVA_VERSION:S/1.7+/1.7 1.8+/:S/1.8+/1.8 11+/:S/1.7/7/:S/1.8/8/:S/7+/7 8+/:S/8+/8 11+/:S/11+/11 12+/:S/12+/12 13+/:S/13+/13 14+/:S/14+/14 15+/:S/15+/15/}
|
||||
. else
|
||||
_JAVA_VERSION= ${__JAVA_VERSION_LIST}
|
||||
. endif
|
||||
|
Loading…
Reference in New Issue
Block a user