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:   nia
Date:           Tue Jun 22 11:51:30 UTC 2021

Modified Files:
        pkgsrc/mk: java-vm.mk

Log Message:
Default to OpenJDK 8 on NetBSD 9.x aarch64 due to OpenJDK 11 being broken


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 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.123 pkgsrc/mk/java-vm.mk:1.124
--- pkgsrc/mk/java-vm.mk:1.123  Fri Apr  9 12:47:24 2021
+++ pkgsrc/mk/java-vm.mk        Tue Jun 22 11:51:30 2021
@@ -1,4 +1,4 @@
-# $NetBSD: java-vm.mk,v 1.123 2021/04/09 12:47:24 tnn Exp $
+# $NetBSD: java-vm.mk,v 1.124 2021/06/22 11:51:30 nia Exp $
 #
 # This Makefile fragment handles Java dependencies and make variables,
 # and is meant to be included by packages that require Java either at
@@ -104,7 +104,9 @@ _PKG_JVM_DEFAULT=   ${PKG_JVM_DEFAULT}
 .endif
 .if !defined(_PKG_JVM_DEFAULT)
 .  if   !empty(MACHINE_PLATFORM:MNetBSD-[56].*-i386) || \
-        !empty(MACHINE_PLATFORM:MNetBSD-[56].*-x86_64)
+        !empty(MACHINE_PLATFORM:MNetBSD-[56].*-x86_64) || \
+        (!empty(MACHINE_PLATFORM:MNetBSD-9.*-aarch64) && \
+          empty(MACHINE_PLATFORM:MNetBSD-9.99.*-aarch64))
 _PKG_JVM_DEFAULT?=     openjdk8
 .  elif !empty(MACHINE_PLATFORM:MNetBSD-[789].*-i386) || \
        !empty(MACHINE_PLATFORM:MNetBSD-[789].*-x86_64) || \



Home | Main Index | Thread Index | Old Index