pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Default to OpenJDK 8 on NetBSD 9.x aarch64 due to O...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81b119390f94
branches:  trunk
changeset: 454833:81b119390f94
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jun 22 11:51:30 2021 +0000

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

diffstat:

 mk/java-vm.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 925b5e04d1fb -r 81b119390f94 mk/java-vm.mk
--- a/mk/java-vm.mk     Tue Jun 22 11:25:18 2021 +0000
+++ b/mk/java-vm.mk     Tue Jun 22 11:51:30 2021 +0000
@@ -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 @@
 .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