[Bug 294358] java/openjdk25: really build headless without installing Xorg libs
Date: Thu, 09 Apr 2026 12:49:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294358
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: java@FreeBSD.org
Reporter: raivo@lehma.com
Flags: maintainer-feedback?(java@FreeBSD.org)
Assignee: java@FreeBSD.org
Created attachment 269549
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269549&action=edit
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 = xorg'. I have concocted a simple
Makefile patch that avoids installing various Xorg libs as mandatory
dependencies in case of a headless install, and only requires five header files
as BUILD_DEPENDS.
--
You are receiving this mail because:
You are the assignee for the bug.