[Bug 294358] java/openjdk25: really build headless without installing Xorg libs

[email protected] Thu, 09 Apr 2026 12:49:06 +0000
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294358

            Bug ID: 294358
           Summary: java/openjdk25: really build headless without
                    installing Xorg libs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

Created attachment 269549
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D269549&action=
=3Dedit
Patch for openjdk25 headless install w/o Xorg libs

As it is, java/openjdk25 always pulls in and installs Xorg libs, even in the
case of a headless install, which should by definition not require any Xorg
libs installed. This is because of 'USES =3D xorg'. I have concocted a simp=
le
Makefile patch that avoids installing various Xorg libs as mandatory
dependencies in case of a headless install, and only requires five header f=
iles
as BUILD_DEPENDS.

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