aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2017-10-15 02:41:06 +0800
committerglewis <glewis@FreeBSD.org>2017-10-15 02:41:06 +0800
commitf015990fe88cd3363430451cdabc0b00e6bc406c (patch)
tree877054fdd27b541db9896fb0b2438d91c8ef1053 /Mk
parente50aa0e2f4fb88c6db99a72ae1d7104518100061 (diff)
downloadfreebsd-ports-gnome-f015990fe88cd3363430451cdabc0b00e6bc406c.tar.gz
freebsd-ports-gnome-f015990fe88cd3363430451cdabc0b00e6bc406c.tar.zst
freebsd-ports-gnome-f015990fe88cd3363430451cdabc0b00e6bc406c.zip
. Add a port of the Oracle JDK9 for Linux.
. Add support for JDK9 to bsd.java.mk
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.java.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index f6c2c36f3a34..0be786d2cd5f 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -159,7 +159,7 @@ SUB_LIST+= JAVA_OS="${JAVA_OS}"
. endif
# The complete list of Java versions, os and vendors supported.
-__JAVA_VERSION_LIST= 1.6 1.7 1.8
+__JAVA_VERSION_LIST= 1.6 1.7 1.8 1.9
_JAVA_VERSION_LIST= ${__JAVA_VERSION_LIST} ${__JAVA_VERSION_LIST:S/$/+/}
_JAVA_OS_LIST= native linux
_JAVA_VENDOR_LIST= openjdk oracle sun
@@ -174,6 +174,8 @@ _JAVA_PORT_NATIVE_OPENJDK_JDK_1_8_INFO= PORT=java/openjdk8 HOME=${LOCALBASE}/
VERSION=1.8.0 OS=native VENDOR=openjdk
_JAVA_PORT_LINUX_ORACLE_JDK_1_8_INFO= PORT=java/linux-oracle-jdk18 HOME=${LOCALBASE}/linux-oracle-jdk1.8.0 \
VERSION=1.8.0 OS=linux VENDOR=oracle
+_JAVA_PORT_LINUX_ORACLE_JDK_1_9_INFO= PORT=java/linux-oracle-jdk9 HOME=${LOCALBASE}/linux-oracle-jdk9 \
+ VERSION=1.9.0 OS=linux VENDOR=oracle
# Verbose description for each VENDOR
_JAVA_VENDOR_openjdk= "OpenJDK BSD Porting Team"
@@ -188,7 +190,8 @@ _JAVA_OS_linux= Linux
__JAVA_PORTS_ALL= JAVA_PORT_NATIVE_OPENJDK_JDK_1_8 \
JAVA_PORT_NATIVE_OPENJDK_JDK_1_7 \
JAVA_PORT_NATIVE_OPENJDK_JDK_1_6 \
- JAVA_PORT_LINUX_ORACLE_JDK_1_8
+ JAVA_PORT_LINUX_ORACLE_JDK_1_8 \
+ JAVA_PORT_LINUX_ORACLE_JDK_1_9
_JAVA_PORTS_ALL= ${JAVA_PREFERRED_PORTS} \
${__JAVA_PORTS_ALL}
@@ -255,7 +258,7 @@ JAVA_RUN= jre
. undef _JAVA_PORTS_INSTALLED
. undef _JAVA_PORTS_POSSIBLE
. if defined(JAVA_VERSION)
-_JAVA_VERSION= ${JAVA_VERSION:S/1.6+/1.6 1.7+/:S/1.7+/1.7 1.8+/:S/1.8+/1.8/}
+_JAVA_VERSION= ${JAVA_VERSION:S/1.6+/1.6 1.7+/:S/1.7+/1.7 1.8+/:S/1.8+/1.8 1.9+/:S/1.9+/1.9/}
. else
_JAVA_VERSION= ${__JAVA_VERSION_LIST}
. endif