Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2026 07:33:12 +0000
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 66560b5c725f - main - java: ignore lib dependency on openjdk libraries
Message-ID:  <69dc9c38.3bc57.5cb0eab1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66560b5c725f4e0ffa025f1b0777943fb7e4f63f

commit 66560b5c725f4e0ffa025f1b0777943fb7e4f63f
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2026-04-13 07:15:04 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-04-13 07:22:43 +0000

    java: ignore lib dependency on openjdk libraries
    
    openjdk does not provide proper shlib version tracking, therefor ignore
    openjdk libraries in ports linked to openjdk's libraries.
    
    PR:     293874
---
 devel/R-cran-rJava/Makefile   | 3 ++-
 graphics/jogamp-jogl/Makefile | 3 ++-
 graphics/jogl/Makefile        | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/devel/R-cran-rJava/Makefile b/devel/R-cran-rJava/Makefile
index 17b9f8c4927e..938d7a59e11c 100644
--- a/devel/R-cran-rJava/Makefile
+++ b/devel/R-cran-rJava/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rJava
 DISTVERSION=	1.0-15
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel java
 DISTNAME=	${PORTNAME}_${DISTVERSION}
 
@@ -36,6 +36,7 @@ MAKE_ENV+=	JAVA_HOME=${JAVA_HOME}	\
 		${TEST_ENV}
 # Mk/Uses/cran.mk does not use TEST_ENV for test but MAKE_ENV
 TEST_ENV=	DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
+NO_SHLIB_REQUIRES_GLOB=	libjvm.so
 
 #pre-configure:
 	# Just for debug purpose but this fails with new USES=java although build is OK
diff --git a/graphics/jogamp-jogl/Makefile b/graphics/jogamp-jogl/Makefile
index 6907c555398b..7ceb8d7f8668 100644
--- a/graphics/jogamp-jogl/Makefile
+++ b/graphics/jogamp-jogl/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jogamp-jogl
 PORTVERSION=	2.3.2
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	graphics devel java
 MASTER_SITES=	http://jogamp.org/deployment/jogamp-current/archive/Sources/ \
 		http://jogamp.org/deployment/v${PORTVERSION}/archive/Sources/
@@ -21,6 +21,7 @@ USES=		compiler java:ant,run tar:xz xorg
 USE_XORG=	x11 xcursor xrandr xrender xxf86vm
 # jdk11+ does not have /usr/local/openjdk8/jre/lib/rt.jar: jogamp-env.xml:186: No target.rt.jar specified not found.
 JAVA_VERSION=	8
+NO_SHLIB_REQUIRES_GLOB=	libjawt.so libjvm.so
 
 PATCH_WRKSRC=	${WRKDIR}
 BUILD_WRKSRC=	${WRKDIR}/jogl/make
diff --git a/graphics/jogl/Makefile b/graphics/jogl/Makefile
index 8d95d4bbc7d2..7be45ec336a4 100644
--- a/graphics/jogl/Makefile
+++ b/graphics/jogl/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jogl
 PORTVERSION=	1.1.1
-PORTREVISION=	12
+PORTREVISION=	13
 CATEGORIES=	graphics devel java
 MASTER_SITES=	http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/
 EXTRACT_SUFX=	-src.zip
@@ -33,6 +33,7 @@ USE_LDCONFIG=	yes
 USE_LOCALE=	en_US.UTF-8
 # gluegen/src/java/net/highteq/nativetaglet/NativeTaglet.java:3: error: package com.sun.tools.doclets does not exist
 JAVA_VERSION=	8
+NO_SHLIB_REQUIRES_GLOB=	libjawt.so libjvm.so
 
 BUILD_WRKSRC=	${WRKSRC}/jogl/make
 BUILD_BINPATH=	${WRKSRC}/bin


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dc9c38.3bc57.5cb0eab1>