From f4f80af577fcbf86221c1af5c2cab0ff2d1fa975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 13 Aug 2025 14:21:27 +0200 Subject: java/bootstrap-openjdk17: Require compat14x This port installs precompiled binaries which rely on libutil.so.9, which is replaced by libutil.so.10 in FreeBSD 15 and up. Note that this only helps platforms for which misc/compat14x is available, i.e. i386, amd64, and aarch64. The port remains broken on powerpc, powerpc64, and powerpc64le. Differential Revision: https://reviews.freebsd.org/D51873 --- java/bootstrap-openjdk17/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java') diff --git a/java/bootstrap-openjdk17/Makefile b/java/bootstrap-openjdk17/Makefile index 2398999699b6..f5b98b039baa 100644 --- a/java/bootstrap-openjdk17/Makefile +++ b/java/bootstrap-openjdk17/Makefile @@ -1,5 +1,6 @@ PORTNAME= openjdk17 PORTVERSION= 17.0.1.12.1 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= LOCAL/glewis/bootstrap-openjdk17 \ LOCAL/pkubaj/bootstrap-openjdk17 @@ -28,6 +29,10 @@ INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT} .include +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500000 +RUN_DEPENDS+= compat14x-${ARCH}>=0:misc/compat14x +.endif + .if ${ARCH} == powerpc PLIST_SUB+= NOT_PPC="@comment " .else -- cgit v1.2.3