Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Feb 2025 11:30:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 284503] java/openjdk23 missing libfontconfig.so dependency
Message-ID:  <bug-284503-8522-X1JgzWPBs2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284503-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284503-8522@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284503

--- Comment #2 from Harald Eilertsen <haraldei-freebsdbugz@anduin.net> ---
I found the issue. The openjdk22 port contains a patch for libfontmanager that
caused it to depend on fontconfig. The port also contains a patch for the
makefile to link with libfontconfig.

As the structure of the makefiles has been changed for OpenJDK 23, that latter
patch fell out, while the first patch remained in the build.

I suggest just removing that patch, as the JDK font handling should load
fontconfig itself when it is needed, and I could not find any immediate
rationale for why that patch was there in the first place.

The alternative is to add back the link to libfontconfig from fontmanager, but
if I'd like to know why we need it if we do that.

https://reviews.freebsd.org/D48806

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284503-8522-X1JgzWPBs2>