aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@FreeBSD.org>2026-08-14 10:19:14 +0000
committerHarald Eilertsen <haraldei@FreeBSD.org>2026-08-17 10:25:52 +0000
commit9477c9da0a436a689b99443372a80f20186ee7a9 (patch)
treed362eea4200fe7a7d9cefcc5f489a872822fe845
parent870d5073ad60c1031bfdba6f7f12c9c3b658e75e (diff)
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
-rw-r--r--java/openjdk11/Makefile2
-rw-r--r--java/openjdk8/Makefile2
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