git: 07a784eff37c - main - math/jtransforms: fix building with any jdk

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Sun, 14 Dec 2025 13:41:06 UTC
The branch main has been updated by ronald:

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

commit 07a784eff37c10eecb81a3a052340b9996449856
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-12-13 15:25:47 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-12-14 13:40:47 +0000

    math/jtransforms: fix building with any jdk
    
    PR:     291633
---
 math/jtransforms/files/patch-build.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/math/jtransforms/files/patch-build.xml b/math/jtransforms/files/patch-build.xml
new file mode 100644
index 000000000000..4e3db0569b9e
--- /dev/null
+++ b/math/jtransforms/files/patch-build.xml
@@ -0,0 +1,22 @@
+--- build.xml.orig	2025-12-13 15:21:46 UTC
++++ build.xml
+@@ -57,15 +57,15 @@
+ 
+ 	<target name="javac" depends="clean" description="Compilation of java classes and unit-tests">
+ 		<mkdir dir="${javac.dest}" />
+-		<javac srcdir="${javac.src}" destdir="${javac.dest}" includes="**/*.java" includeantruntime="false" deprecation="true" debug="false" source="1.5" target="1.5" />
+-		<javac srcdir="${tests.src.dir}" destdir="${javac.dest}" includes="**/*.java" classpathref="project.class.path" includeantruntime="false" deprecation="true" debug="false" source="1.5" target="1.5" />
++		<javac srcdir="${javac.src}" destdir="${javac.dest}" includes="**/*.java" includeantruntime="false" deprecation="true" debug="false" />
++		<javac srcdir="${tests.src.dir}" destdir="${javac.dest}" includes="**/*.java" classpathref="project.class.path" includeantruntime="false" deprecation="true" debug="false" />
+ 	</target>
+ 
+ 
+ 	<target name="javac-debug" depends="clean" description="Compilation of java classes and unit-tests with debug options on.">
+ 		<mkdir dir="${javac.dest}" />
+-		<javac srcdir="${javac.src}" destdir="${javac.dest}" includes="**/*.java" includeantruntime="false" deprecation="true" debug="on" debuglevel="vars,lines,source" source="1.5" target="1.5" />
+-		<javac srcdir="${tests.src.dir}" destdir="${javac.dest}" includes="**/*.java" classpathref="project.class.path" includeantruntime="false" deprecation="true" debug="true" debuglevel="vars,lines,source" source="1.5" target="1.5" />
++		<javac srcdir="${javac.src}" destdir="${javac.dest}" includes="**/*.java" includeantruntime="false" deprecation="true" debug="on" debuglevel="vars,lines,source" />
++		<javac srcdir="${tests.src.dir}" destdir="${javac.dest}" includes="**/*.java" classpathref="project.class.path" includeantruntime="false" deprecation="true" debug="true" debuglevel="vars,lines,source" />
+ 	</target>
+ 
+