[Bug 296414] java/openjdk25: flavor headless doesn't get used

[email protected] Fri, 03 Jul 2026 08:39:56 +0000
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296414

--- Comment #6 from Harald Eilertsen <[email protected]> ---
(In reply to Robert William Vesterman from comment #4)
> So, am I understanding correctly that the reason that all of these ports =
are asking for the headless version is that none of them are specifically p=
inned to it?

That's my understanding as well.

From what I understand from other discussions around the topic, it should be
possible to depend on a specific library (.so) instead of just the package/=
port
the library is in. In this case a port could depend on libawt_headless.so i=
f it
does not need X support, or libawt_xawt.so if it does.

I don't know the finer details of the ports system well enough yet to know =
how
to combine this with JDK version constraints. (Or indeed if this is a feasi=
ble
solution to the problem.)

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