Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169911378
D59167.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D59167.diff
View Options
diff --git a/java/openjdk25/Makefile b/java/openjdk25/Makefile
--- 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,14 +52,20 @@
RUN_DEPENDS+= xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype
.endif
+.if ${FLAVOR:M*headless} == ""
USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig xorg
+.else
+USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig
+.endif
CPE_VENDOR= oracle
USE_GITHUB= yes
GH_ACCOUNT= freebsd
-USE_XORG= x11 xext xi xrandr xrender xt xtst
+.if ${FLAVOR:M*headless} == ""
+USE_XORG= x11 xext xi xrandr xrender xt xtst
+.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-ccache \
diff --git a/java/openjdk26/Makefile b/java/openjdk26/Makefile
--- a/java/openjdk26/Makefile
+++ b/java/openjdk26/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,14 +52,20 @@
RUN_DEPENDS+= xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype
.endif
+.if ${FLAVOR:M*headless} == ""
USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig xorg
+.else
+USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig
+.endif
CPE_VENDOR= oracle
USE_GITHUB= yes
GH_ACCOUNT= freebsd
-USE_XORG= x11 xext xi xrandr xrender xt xtst
+.if ${FLAVOR:M*headless} == ""
+USE_XORG= x11 xext xi xrandr xrender xt xtst
+.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-ccache \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 3, 10:51 PM (16 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37946732
Default Alt Text
D59167.diff (1 KB)
Attached To
Mode
D59167: java/openjdk{25,26}: Don't req xorg for headless
Attached
Detach File
Event Timeline
Log In to Comment