From 11fc1e476c9d02bff164f4f37f7ba24ca6d7d87c Mon Sep 17 00:00:00 2001 From: Vladimir Druzenko Date: Tue, 16 Jan 2024 10:06:04 +0300 Subject: math/apache-commons-math: build empty jar file (without classes) and doesn't build with jdk 11+ 1. Without target "compile" commons-math.jar was ~8KB only and without classes - whit patch it's ~2MB. 2. Doesn't build with OpenJDK 11+: "compile.source" and "compile.target" 1.5 deprecated and was removed in newer OpenJDKs. Approved by: bofh (maintainer), arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D43462 MFH: 2024Q1 --- math/apache-commons-math/files/patch-build.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'math/apache-commons-math/files') diff --git a/math/apache-commons-math/files/patch-build.xml b/math/apache-commons-math/files/patch-build.xml index 256c8c63f281..57ce05cc8e36 100644 --- a/math/apache-commons-math/files/patch-build.xml +++ b/math/apache-commons-math/files/patch-build.xml @@ -1,5 +1,16 @@ --- build.xml.orig 2016-03-17 12:14:52 UTC +++ build.xml +@@ -100,8 +100,8 @@ + + + +- +- ++ ++ + + + @@ -174,7 +174,7 @@ -- cgit v1.2.3