git: cfb60c1505c9 - main - java/openjfx14: Fix openjfx14 after 9477c9da0a4

From: Harald Eilertsen <haraldei_at_FreeBSD.org>
Date: Tue, 01 Sep 2026 07:59:41 UTC
The branch main has been updated by haraldei:

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

commit cfb60c1505c9a395c6361472c4a0628b2f77e9fc
Author:     Harald Eilertsen <haraldei@FreeBSD.org>
AuthorDate: 2026-08-31 15:48:25 +0000
Commit:     Harald Eilertsen <haraldei@FreeBSD.org>
CommitDate: 2026-09-01 07:59:20 +0000

    java/openjfx14: Fix openjfx14 after 9477c9da0a4
    
    Removing USE_LDCONFIG from openjdk11 caused the package for openjfx14 to
    fail to build, because it could not find libjvm.so, previously exported
    from openjdk11 (and 8).
    
    Making the openjfx14 package ignore this should be safe, as it in any
    case relies on openjdk11 which again contains the lib and knows how to
    locate and load it.
    
    Thanks to ronald@ for pointing me in the right direction!
    
    PR:             297282
    Reported by:    vvd@FreeBSD.org
    Reviewed by:    vvd@FreeBSD.org
    Tested by:      vvd@FreeBSD.org
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D59290
---
 java/openjfx14/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile
index 53ec7afcbbbd..ea23da8980c0 100644
--- a/java/openjfx14/Makefile
+++ b/java/openjfx14/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	openjfx
 DISTVERSION=	14.0.2.1+1
-PORTREVISION=	20
+PORTREVISION=	21
 CATEGORIES=	java x11-toolkits devel
 MASTER_SITES=	https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-core/7.7.1/:core \
 		https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-grouping/7.7.1/:grouping \
@@ -50,6 +50,8 @@ CFLAGS+=	-Wno-unused-command-line-argument \
 # Suppress errors with lld >= 17 due to undefined symbols.
 LDFLAGS+=	-Wl,--undefined-version
 
+NO_SHLIB_REQUIRES_GLOB=	libjvm.so
+
 PLIST_SUB=	INSTALLDIR=${_INSTALLDIR}
 
 OPTIONS_DEFINE=	MEDIA SWT TEST WEBKIT