aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2025-08-13 14:21:27 +0200
committerDag-Erling Smørgrav <des@FreeBSD.org>2025-08-13 14:30:41 +0200
commitf4f80af577fcbf86221c1af5c2cab0ff2d1fa975 (patch)
treed3aff6a2fca48c09663c56822abafd5fba5a526c /java
parentc21115dab02d0c93e8f50dd9a068dd3d3da5ee00 (diff)
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
Diffstat (limited to 'java')
-rw-r--r--java/bootstrap-openjdk17/Makefile5
1 files changed, 5 insertions, 0 deletions
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 <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