Date: Thu, 09 Apr 2026 05:38:05 +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: 6a6eca90407a - main - java/jgraphx: unpin openjdk8 Message-ID: <69d73b3d.25046.7f0fef21@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=6a6eca90407af6eb23e5c5cffe00e807f2ef1d6f commit 6a6eca90407af6eb23e5c5cffe00e807f2ef1d6f Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2026-04-09 05:33:22 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2026-04-09 05:36:45 +0000 java/jgraphx: unpin openjdk8 Builds fine with modern JDK. Dependency math/scilab uses openjdk8 so this needs to generate Java 8 compatible class files. Approved-by: no maintainer --- java/jgraphx/Makefile | 3 +-- java/jgraphx/files/patch-build.xml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/java/jgraphx/Makefile b/java/jgraphx/Makefile index b558875e55c7..d1b3e45d6484 100644 --- a/java/jgraphx/Makefile +++ b/java/jgraphx/Makefile @@ -1,6 +1,6 @@ PORTNAME= jgraphx PORTVERSION= 4.2.2 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX= v CATEGORIES= java graphics @@ -14,7 +14,6 @@ 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 diff --git a/java/jgraphx/files/patch-build.xml b/java/jgraphx/files/patch-build.xml new file mode 100644 index 000000000000..8bb26d7ca3d1 --- /dev/null +++ b/java/jgraphx/files/patch-build.xml @@ -0,0 +1,30 @@ +# math/scilab needs java 8 compatible classes + +--- build.xml.orig 2026-04-08 19:59:20 UTC ++++ build.xml +@@ -60,6 +60,8 @@ --> + debug="${compile.debug}" + deprecation="${compile.deprecation}" + optimize="${compile.optimize}" ++ source="8" ++ target="8" + destdir="${basedir}/classes"> + <classpath> + <pathelement path="${basedir}/classes"/> +@@ -75,6 +77,7 @@ --> + classpath="${basedir}/classes" + destdir="${basedir}/docs/api" + use="true" ++ source="8" + author="false" + version="false" + windowtitle="${product.name} ${product.version} API Specification" +@@ -152,6 +155,8 @@ --> + + <target name="example" depends="build" description="Compiles the examples"> + <javac srcdir="${example.home}" debug="${compile.debug}" deprecation="${compile.deprecation}" ++ source="8" ++ target="8" + optimize="${compile.optimize}" destdir="${example.home}"> + <classpath> + <pathelement path="${basedir}/lib/${all.jar}"/>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d73b3d.25046.7f0fef21>
