Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2026 12:49:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 294358] java/openjdk25: really build headless without installing Xorg libs
Message-ID:  <bug-294358-8522-2CMQMLIP5A@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294358-8522@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody)
<java@FreeBSD.org> for maintainer-feedback:
Bug 294358: java/openjdk25: really build headless without installing Xorg libs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294358



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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294358-8522-2CMQMLIP5A>