[Bug 284503] java/openjdk23 missing libfontconfig.so dependency

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Feb 2025 11:30:26 UTC
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.