git: 9477c9da0a43 - main - java/openjdk{8,11}: Remove USE_LDCONFIG from ports

Harald Eilertsen <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by haraldei:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9477c9da0a436a689b99443372a80f20186ee7a9

commit 9477c9da0a436a689b99443372a80f20186ee7a9
Author:     Harald Eilertsen <[email protected]>
AuthorDate: 2026-08-14 10:19:14 +0000
Commit:     Harald Eilertsen <[email protected]>
CommitDate: 2026-08-17 10:25:52 +0000

    java/openjdk{8,11}: Remove USE_LDCONFIG from ports
    
    OpenJDK loads the JVM and other JDK libraries explicitly from the
    correct directories, so there's no need for adding them to ldconfig.
    
    PR:             297282
    Reviewed by:    jrm
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D58841
---
 java/openjdk11/Makefile | 2 +-
 java/openjdk8/Makefile  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index 8ee784f0bf7b..06b395ddfa0e 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}
 MASTER_SITES=	LOCAL/openjdk/:boot
@@ -31,7 +32,6 @@ 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
 
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index 3ba5cb0a819a..a06278c99d4b 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	openjdk
 PORTVERSION=	${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION}
+PORTREVISION=	1
 CATEGORIES=	java devel
 MASTER_SITES=	LOCAL/jkim:jtreg LOCAL/openjdk:boot
 PKGNAMESUFFIX?=	${JDK_MAJOR_VERSION}
@@ -32,7 +33,6 @@ GH_ACCOUNT=	battleblow
 GH_PROJECT=	jdk8u
 GH_TAGNAME=	jdk${JDK_MAJOR_VERSION}u${JDK_UPDATE_VERSION}-b${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION}
 
-USE_LDCONFIG=	${INSTALLDIR}/lib/${ARCH}
 _MAKE_JOBS=	#
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.