pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang openjdk11 & 17: preemptively set PKG_FAIL_REASON ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01038b0c55f7
branches:  trunk
changeset: 379407:01038b0c55f7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun May 15 22:44:24 2022 +0000

description:
openjdk11 & 17: preemptively set PKG_FAIL_REASON when PR 55248 applies

That is, NetBSD before 9.98.83. This around when we switched to GCC 10.
Is suspected to be related.

diffstat:

 lang/openjdk11/bootstrap.mk |  9 ++++++++-
 lang/openjdk17/bootstrap.mk |  8 ++++++--
 2 files changed, 14 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r c62ac8b34cfc -r 01038b0c55f7 lang/openjdk11/bootstrap.mk
--- a/lang/openjdk11/bootstrap.mk       Sun May 15 22:30:49 2022 +0000
+++ b/lang/openjdk11/bootstrap.mk       Sun May 15 22:44:24 2022 +0000
@@ -1,5 +1,12 @@
-# $NetBSD: bootstrap.mk,v 1.4 2020/05/09 00:55:44 tnn Exp $
+# $NetBSD: bootstrap.mk,v 1.5 2022/05/15 22:44:24 tnn Exp $
 
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 080000
+PKG_FAIL_REASON+=              "Only supports NetBSD >= 8"
+.endif
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && ${OPSYS_VERSION} < 099983
+PKG_FAIL_REASON+=              "PR 55248: please update to NetBSD >= 9.99.83 to use this package"
+.endif
 
 ONLY_FOR_PLATFORM+=            NetBSD-*-i386
 BOOT.nb7-i386=                 bootstrap-jdk-1.11.0.5.8-netbsd-7-i386-20190928.tar.xz
diff -r c62ac8b34cfc -r 01038b0c55f7 lang/openjdk17/bootstrap.mk
--- a/lang/openjdk17/bootstrap.mk       Sun May 15 22:30:49 2022 +0000
+++ b/lang/openjdk17/bootstrap.mk       Sun May 15 22:44:24 2022 +0000
@@ -1,7 +1,11 @@
-# $NetBSD: bootstrap.mk,v 1.4 2022/05/15 22:30:49 tnn Exp $
+# $NetBSD: bootstrap.mk,v 1.5 2022/05/15 22:44:24 tnn Exp $
 
 .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 090000
-PKG_SKIP_REASON+=              "Only supports NetBSD >= 9"
+PKG_FAIL_REASON+=              "Only supports NetBSD >= 9"
+.endif
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && ${OPSYS_VERSION} < 099983
+PKG_FAIL_REASON+=              "PR 55248: please update to NetBSD >= 9.99.83 to use this package"
 .endif
 
 ONLY_FOR_PLATFORM+=            NetBSD-*-i386



Home | Main Index | Thread Index | Old Index