git: e3c6a73e8851 - main - science/opsin: fix build with any jdk
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Dec 2025 16:12:38 UTC
The branch main has been updated by ronald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e3c6a73e8851e06733b42dc313ab907c7dd2313d
commit e3c6a73e8851e06733b42dc313ab907c7dd2313d
Author: Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-12-13 15:54:10 +0000
Commit: Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-12-13 16:12:21 +0000
science/opsin: fix build with any jdk
The openjdk8 error mentioned in the Makefile has been fixed a while ago.
PR: 291635
---
science/opsin/Makefile | 1 -
science/opsin/files/patch-pom.xml | 22 ++++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/science/opsin/Makefile b/science/opsin/Makefile
index f4e98275bd30..b9c6e1f5da9d 100644
--- a/science/opsin/Makefile
+++ b/science/opsin/Makefile
@@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= maven>0:devel/maven
USES= java
-JAVA_VERSION= 17 # Java 8 fails on aarch64: Internal Error (assembler_aarch64.hpp:237), pid=29730, tid=0x000000000002d236 guarantee(val < (1U << nbits)) failed: Field too big for insn
NO_ARCH= yes
diff --git a/science/opsin/files/patch-pom.xml b/science/opsin/files/patch-pom.xml
new file mode 100644
index 000000000000..97c13f852077
--- /dev/null
+++ b/science/opsin/files/patch-pom.xml
@@ -0,0 +1,22 @@
+--- pom.xml.orig 2025-12-13 15:51:13 UTC
++++ pom.xml
+@@ -60,8 +60,8 @@
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.1</version>
+ <configuration>
+- <source>1.7</source>
+- <target>1.7</target>
++ <source>1.8</source>
++ <target>1.8</target>
+ </configuration>
+ </plugin>
+ <!-- Include POM.xml in source JAR -->
+@@ -141,7 +141,7 @@
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.1</version>
+ <configuration>
+- <targetJdk>1.7</targetJdk>
++ <targetJdk>1.8</targetJdk>
+ <linkXref>true</linkXref>
+ </configuration>
+ </plugin>