Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2026 10:50:17 +0000
From:      Ronald Klop <ronald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cddcb216be6d - main - math/scilab: fix build with jdk8 and JAVA_DEFAULT=21
Message-ID:  <697746e9.3bcdb.693ec6d1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cddcb216be6df3e4cff1b26e11d4c4fc3fcacfba

commit cddcb216be6df3e4cff1b26e11d4c4fc3fcacfba
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-01-26 09:03:28 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-01-26 10:49:41 +0000

    math/scilab: fix build with jdk8 and JAVA_DEFAULT=21
    
    When scilab compiles with jdk8 it needs the libraries to be
    compiled with jdk8 also.
    
    PR:     272855
    Approved-By:    no maintainer
    Fixes:  0bb32f6170f8040ec686c7e597408b1f3923a225 (scilab pin to jdk8)
---
 devel/flexdock/Makefile | 1 +
 java/jgraphx/Makefile   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/devel/flexdock/Makefile b/devel/flexdock/Makefile
index b879cf14a6d7..e812c65b947f 100644
--- a/devel/flexdock/Makefile
+++ b/devel/flexdock/Makefile
@@ -12,6 +12,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		java:ant,run
+JAVA_VERSION=  8 # math/scilab needs java 8 compatible classes
 
 ALL_TARGET=	dist
 NO_ARCH=	yes
diff --git a/java/jgraphx/Makefile b/java/jgraphx/Makefile
index b5e67f4e439d..6f36d5e1f812 100644
--- a/java/jgraphx/Makefile
+++ b/java/jgraphx/Makefile
@@ -14,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/license.txt
 USES=		java:ant,run
 USE_GITHUB=	yes
 GH_ACCOUNT=	jgraph
+JAVA_VERSION=  8 # math/scilab needs java 8 compatible classes
 
 NO_ARCH=	yes
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?697746e9.3bcdb.693ec6d1>