pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: ryoon
Date: Mon Jan 13 01:53:50 UTC 2020
Modified Files:
pkgsrc/mk: java-vm.mk
Log Message:
Add lang/adoptopenjdk11-bin support
To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 pkgsrc/mk/java-vm.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/java-vm.mk
diff -u pkgsrc/mk/java-vm.mk:1.117 pkgsrc/mk/java-vm.mk:1.118
--- pkgsrc/mk/java-vm.mk:1.117 Wed Oct 2 13:16:29 2019
+++ pkgsrc/mk/java-vm.mk Mon Jan 13 01:53:50 2020
@@ -1,4 +1,4 @@
-# $NetBSD: java-vm.mk,v 1.117 2019/10/02 13:16:29 ryoon Exp $
+# $NetBSD: java-vm.mk,v 1.118 2020/01/13 01:53:50 ryoon Exp $
#
# This Makefile fragment handles Java dependencies and make variables,
# and is meant to be included by packages that require Java either at
@@ -11,6 +11,7 @@
#
# Possible values: kaffe openjdk7 openjdk8
# sun-jdk7 oracle-jdk8
+# adoptopenjdk11-bin
# openjdk-bin openjdk11
# Default value: (platform-dependent)
#
@@ -72,7 +73,7 @@ PKG_JVMS_ACCEPTED?= ${_PKG_JVMS}
# This is a list of all of the JDKs that may be used.
#
-_PKG_JVMS.9= openjdk-bin openjdk11
+_PKG_JVMS.9= adoptopenjdk11-bin openjdk-bin openjdk11
_PKG_JVMS.8= ${_PKG_JVMS.9} openjdk8 oracle-jdk8
_PKG_JVMS.7= ${_PKG_JVMS.8} openjdk7 sun-jdk7
_PKG_JVMS.6= ${_PKG_JVMS.7} jdk16
@@ -168,6 +169,9 @@ _ONLY_FOR_PLATFORMS.oracle-jdk8= \
Linux-*-x86_64 \
NetBSD-[6-9]*-i386 NetBSD-[6-9]*-x86_64 \
SunOS-5.11-x86_64
+_ONLY_FOR_PLATFORMS.adoptopenjdk11-bin= \
+ Linux-*-x86_64 \
+ NetBSD-[6-9]*-x86_64
_ONLY_FOR_PLATFORMS.openjdk-bin= \
Linux-*-x86_64 \
NetBSD-[6-9]*-x86_64
@@ -194,6 +198,7 @@ _JAVA_PKGBASE.openjdk7= openjdk7
_JAVA_PKGBASE.openjdk8= openjdk8
_JAVA_PKGBASE.sun-jdk7= sun-jre7
_JAVA_PKGBASE.oracle-jdk8= oracle-jre8
+_JAVA_PKGBASE.adoptopenjdk11-bin= adoptopenjdk11-bin
_JAVA_PKGBASE.openjdk-bin= openjdk-bin
_JAVA_PKGBASE.openjdk11= openjdk11
@@ -203,6 +208,7 @@ _JAVA_NAME.openjdk7= openjdk7
_JAVA_NAME.openjdk8= openjdk8
_JAVA_NAME.sun-jdk7= sun7
_JAVA_NAME.oracle-jdk8= oracle8
+_JAVA_NAME.adoptopenjdk11-bin= adoptopenjdk11-bin
_JAVA_NAME.openjdk-bin= openjdk-bin
_JAVA_NAME.openjdk11= openjdk11
@@ -259,6 +265,7 @@ BUILDLINK_API_DEPENDS.sun-jdk7?= sun-jdk
BUILDLINK_API_DEPENDS.sun-jre7?= sun-jre7-[0-9]*
BUILDLINK_API_DEPENDS.oracle-jdk8?= oracle-jdk8-[0-9]*
BUILDLINK_API_DEPENDS.oracle-jre8?= oracle-jre8-[0-9]*
+BUILDLINK_API_DEPENDS.adoptopenjdk11-bin?= adoptopenjdk11-bin-[0-9]*
BUILDLINK_API_DEPENDS.openjdk-bin?= openjdk-bin-[0-9]*
BUILDLINK_API_DEPENDS.openjdk11?= openjdk11-[0-9]*
@@ -267,6 +274,7 @@ _JRE.openjdk7= openjdk7
_JRE.openjdk8= openjdk8
_JRE.sun-jdk7= sun-jre7
_JRE.oracle-jdk8= oracle-jre8
+_JRE.adoptopenjdk11-bin= adoptopenjdk11-bin
_JRE.openjdk-bin= openjdk-bin
_JRE.openjdk11= openjdk11
@@ -294,6 +302,10 @@ _JDK_PKGSRCDIR= ../../lang/oracle-jdk8
_JRE_PKGSRCDIR= ../../lang/oracle-jre8
_JAVA_HOME= ${LOCALBASE}/java/oracle-8
UNLIMIT_RESOURCES+= datasize
+.elif ${_PKG_JVM} == "adoptopenjdk11-bin"
+_JDK_PKGSRCDIR= ../../lang/adoptopenjdk11-bin
+_JRE_PKGSRCDIR= ../../lang/adoptopenjdk11-bin
+_JAVA_HOME= ${LOCALBASE}/java/adoptopenjdk11-bin
.elif ${_PKG_JVM} == "openjdk-bin"
_JDK_PKGSRCDIR= ../../lang/openjdk-bin
_JRE_PKGSRCDIR= ../../lang/openjdk-bin
Home |
Main Index |
Thread Index |
Old Index