diff options
author | tnn <tnn@pkgsrc.org> | 2022-05-15 22:44:24 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-05-15 22:44:24 +0000 |
commit | cc5dd53457a410f937fff320baa34e94e8f1b46a (patch) | |
tree | 789db66505140827d696a5f073ed42984552071c /lang/openjdk11 | |
parent | 22a66c515f7d8f32f9f58f9b2786000500209f00 (diff) | |
download | pkgsrc-cc5dd53457a410f937fff320baa34e94e8f1b46a.tar.gz |
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 (limited to 'lang/openjdk11')
-rw-r--r-- | lang/openjdk11/bootstrap.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/openjdk11/bootstrap.mk b/lang/openjdk11/bootstrap.mk index aa7ab0d3afd..7d9717d8272 100644 --- a/lang/openjdk11/bootstrap.mk +++ b/lang/openjdk11/bootstrap.mk @@ -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 |