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
This commit is contained in:
Dag-Erling Smørgrav 2025-08-13 14:21:27 +02:00
parent c21115dab0
commit f4f80af577
1 changed files with 5 additions and 0 deletions

View File

@ -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 <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500000
RUN_DEPENDS+= compat14x-${ARCH}>=0:misc/compat14x
.endif
.if ${ARCH} == powerpc
PLIST_SUB+= NOT_PPC="@comment "
.else