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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Jul 2026 12:07:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296414

--- Comment #8 from Ronald Klop <ronald@FreeBSD.org> ---
Created attachment 272440
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272440&action=edit
git diff to allow build with openjdk25-headless

I played around a bit and this patch makes it possible to build packages using
openjdk25-headless by defining OPTIONS_UNSET+=X11 in make.conf.

With this I build a java package using the headless flavor in poudriere.
# pkg info -d sbt
sbt-2.0.1:
        openjdk25-headless-25.0.3+9.f.1
        bash-5.3.15

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