git: ae208e43ae3d - main - science/colt: pin to openjdk8
Date: Thu, 11 Dec 2025 19:20:23 UTC
The branch main has been updated by ronald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ae208e43ae3d4b7a6a92ffc73d6325480164582c
commit ae208e43ae3d4b7a6a92ffc73d6325480164582c
Author: Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-12-11 19:13:03 +0000
Commit: Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-12-11 19:20:14 +0000
science/colt: pin to openjdk8
It fails on jdk21:
error: as of release 9, '_' is a keyword, and may not be used as an identifier
Build.xml also needed an encoding="ISO-8859-1" in the javac target.
NB: Upstream didn't make a release since 2004.
PR: 272855
Approved-by: no maintainer
---
science/colt/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/science/colt/Makefile b/science/colt/Makefile
index 88974b022de0..3304c3a6cb50 100644
--- a/science/colt/Makefile
+++ b/science/colt/Makefile
@@ -8,6 +8,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Java package for scalable scientific and technical computing
WWW= https://acs.lbl.gov/~hoschek/colt/
+JAVA_VERSION= 8
+
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}