From df901df4bd47e30a9256dc2a241f42a22a19cd73 Mon Sep 17 00:00:00 2001 From: Ronald Klop Date: Mon, 13 Oct 2025 13:28:03 +0200 Subject: [PATCH] java/openjdk17: fix parallel build on 14.3 Got a report that build is also flapping on 14.3, so extent the range of OSVERSIONs. Allow parallel jobs, but limited to the number of jobs that is currently used (and works) on the official FreeBSD pkg build cluster. PR: 290148 --- java/openjdk17/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile index 3eb69f71442b..4edc6a57de5d 100644 --- a/java/openjdk17/Makefile +++ b/java/openjdk17/Makefile @@ -118,8 +118,8 @@ JDK_BUILD_TYPE= release .include # portsfallout.com shows flapping builds on 13.5 and 14.2 -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1403000 -MAKE_JOBS_UNSAFE= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000 +MAKE_JOBS_NUMBER_LIMIT= 3 .endif BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk17 ${LOCALBASE}/bootstrap-openjdk17