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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Jul 2026 10:36:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296414

Harald Eilertsen <haraldei@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |haraldei@FreeBSD.org

--- Comment #3 from Harald Eilertsen <haraldei@FreeBSD.org> ---
Thanks for raising this issue.

I hope michaelo@'s answer helps you for now, but this is clearly something we
need to address to make it smoother. A first, step would be to fix the
dependencies on ports that would be satisfied with the headless (or even more
relevant jre-headless) flavour.

This will not fix it completely, though, as the different flavours are complete
ports that install to their separate target directories. If we could replicate
the debian approach to packing OpenJDK (as I described here:
https://kodeknekkeriet.net/en/blog/introducing-flavors-in-openjdk-freebsd/),
that could possibly make things a bit smoother. Not sure how easy that is to
acheive in the FreeBSD ports system, though.

I'll try to have another go at it.

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