maintainer-feedback requested: [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/>
Bugzilla Automation <[email protected]> has asked freebsd-java (Nobody)
<[email protected]> for maintainer-feedback:
Bug 294358: java/openjdk25: really build headless without installing Xorg l=
ibs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294358



--- Description ---
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.