Page MenuHomeFreeBSD

D59167.diff
No OneTemporary

D59167.diff

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

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)

Event Timeline