pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/openjdk11



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jun 22 11:56:35 UTC 2021

Modified Files:
        pkgsrc/lang/openjdk11: options.mk

Log Message:
openjdk11: only enable hotspot VM on netbsd/aarch64 HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/openjdk11/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/openjdk11/options.mk
diff -u pkgsrc/lang/openjdk11/options.mk:1.4 pkgsrc/lang/openjdk11/options.mk:1.5
--- pkgsrc/lang/openjdk11/options.mk:1.4        Fri May  8 21:17:33 2020
+++ pkgsrc/lang/openjdk11/options.mk    Tue Jun 22 11:56:35 2021
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2020/05/08 21:17:33 tnn Exp $
+# $NetBSD: options.mk,v 1.5 2021/06/22 11:56:35 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.openjdk11
 PKG_OPTIONS_OPTIONAL_GROUPS=   variant
@@ -6,7 +6,11 @@ PKG_OPTIONS_GROUP.variant=     jdk-zero-vm
 PKG_SUPPORTED_OPTIONS=         debug dtrace jre-jce x11 static-libstdcpp
 PKG_SUGGESTED_OPTIONS=         jre-jce x11
 
-.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.if ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "x86_64" || \
+    (${MACHINE_ARCH} == "aarch64" && \
+      (empty(MACHINE_PLATFORM:MNetBSD-9.*-aarch64) || \
+      !empty(MACHINE_PLATFORM:MNetBSD-9.99.*-aarch64)))
 PKG_OPTIONS_GROUP.variant+=    jdk-hotspot-vm
 PKG_SUGGESTED_OPTIONS+=                jdk-hotspot-vm
 .else



Home | Main Index | Thread Index | Old Index