git: 57ff2ad3c251 - main - java/openjdk11: Set USE_LDCONFIG=yes to provide libjvm.so

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 15 Mar 2025 17:41:46 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57ff2ad3c2514123f4ac3609e0b24aab09fb4ccc

commit 57ff2ad3c2514123f4ac3609e0b24aab09fb4ccc
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-03-15 17:05:42 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-03-15 17:41:39 +0000

    java/openjdk11: Set USE_LDCONFIG=yes to provide libjvm.so
    
    Reported by:    pkg-devel exp-run
---
 java/openjdk11/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index c72f7ca86ca4..b001e09e4d68 100644
--- a/java/openjdk11/Makefile
+++ b/java/openjdk11/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	openjdk
 DISTVERSIONPREFIX=	jdk-
 DISTVERSION=	${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
+PORTREVISION=	1
 CATEGORIES=	java devel
 PKGNAMESUFFIX?=	${JDK_MAJOR_VERSION}
 
@@ -29,6 +30,7 @@ RUN_DEPENDS=	javavm:java/javavmwrapper \
 
 USES=		compiler:features cpe gmake iconv jpeg pkgconfig xorg
 USE_XORG=	x11 xext xi xrandr xrender xt xtst
+USE_LDCONFIG=	${INSTALLDIR}/lib/server
 
 CPE_VENDOR=	oracle