pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun May 15 22:44:24 UTC 2022

Modified Files:
        pkgsrc/lang/openjdk11: bootstrap.mk
        pkgsrc/lang/openjdk17: bootstrap.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/openjdk11/bootstrap.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/openjdk17/bootstrap.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/bootstrap.mk
diff -u pkgsrc/lang/openjdk11/bootstrap.mk:1.4 pkgsrc/lang/openjdk11/bootstrap.mk:1.5
--- pkgsrc/lang/openjdk11/bootstrap.mk:1.4      Sat May  9 00:55:44 2020
+++ pkgsrc/lang/openjdk11/bootstrap.mk  Sun May 15 22:44:24 2022
@@ -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

Index: pkgsrc/lang/openjdk17/bootstrap.mk
diff -u pkgsrc/lang/openjdk17/bootstrap.mk:1.4 pkgsrc/lang/openjdk17/bootstrap.mk:1.5
--- pkgsrc/lang/openjdk17/bootstrap.mk:1.4      Sun May 15 22:30:49 2022
+++ pkgsrc/lang/openjdk17/bootstrap.mk  Sun May 15 22:44:24 2022
@@ -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