Date: Sat, 28 Feb 2026 13:33:45 +0000 From: Harald Eilertsen <haraldei@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 46e595f7284d - main - java/openjdk25: Fix headless build Message-ID: <69a2eeb9.1e9c7.586f85d1@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by haraldei: URL: https://cgit.FreeBSD.org/ports/commit/?id=46e595f7284d69de17559eb478b9138d3b3ca585 commit 46e595f7284d69de17559eb478b9138d3b3ca585 Author: Harald Eilertsen <haraldei@FreeBSD.org> AuthorDate: 2026-02-28 10:50:38 +0000 Commit: Harald Eilertsen <haraldei@FreeBSD.org> CommitDate: 2026-02-28 13:32:44 +0000 java/openjdk25: Fix headless build The OpenJDK headless builds still need xorg and related libraries. This should hopefully fix the pkg fallouts reported after the update to 25.0.2. Reviewed by: fuz (mentor) Approved by: fuz (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55589 --- java/openjdk25/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/java/openjdk25/Makefile b/java/openjdk25/Makefile index 52d253292903..f73808b82620 100644 --- a/java/openjdk25/Makefile +++ b/java/openjdk25/Makefile @@ -1,6 +1,7 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_FULL_VERSION:S/.0.0//} +PORTREVISION= 1 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MASTER_SITES= LOCAL/openjdk:boot @@ -51,19 +52,14 @@ RUN_DEPENDS= javavm:java/javavmwrapper RUN_DEPENDS+= xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype .endif -USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig -.if ${FLAVOR:M*headless} == "" -USES+= xorg -.endif +USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig xorg CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= freebsd -.if ${FLAVOR:M*headless} == "" USE_XORG= x11 xext xi xrandr xrender xt xtst -.endif GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-ccache \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a2eeb9.1e9c7.586f85d1>
