pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk java-vm.mk: Use OPSYS_VERSION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3262b198af3
branches:  trunk
changeset: 379845:f3262b198af3
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 24 09:46:05 2022 +0000

description:
java-vm.mk: Use OPSYS_VERSION

diffstat:

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

diffs (20 lines):

diff -r b40f3bb44aa3 -r f3262b198af3 mk/java-vm.mk
--- a/mk/java-vm.mk     Tue May 24 09:43:51 2022 +0000
+++ b/mk/java-vm.mk     Tue May 24 09:46:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: java-vm.mk,v 1.127 2022/05/13 14:28:29 ryoon Exp $
+# $NetBSD: java-vm.mk,v 1.128 2022/05/24 09:46:05 nia Exp $
 #
 # This Makefile fragment provides a Java VM, either at build-time or at
 # run-time, depending on the package's needs.
@@ -107,8 +107,8 @@
 .if !defined(_PKG_JVM_DEFAULT)
 .  if   !empty(MACHINE_PLATFORM:MNetBSD-[56].*-i386) || \
         !empty(MACHINE_PLATFORM:MNetBSD-[56].*-x86_64) || \
-        (!empty(MACHINE_PLATFORM:MNetBSD-9.*-aarch64) && \
-          empty(MACHINE_PLATFORM:MNetBSD-9.99.*-aarch64))
+        (!empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && \
+          ${OPSYS_VERSION} < 099900)
 _PKG_JVM_DEFAULT?=     openjdk8
 .  elif !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || \
        !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || \



Home | Main Index | Thread Index | Old Index