git: 19bb305f64dc - main - science/cdk: Update 2.3 -> 2.7.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 16:49:18 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19bb305f64dc98138d63a9548663cdd174141586

commit 19bb305f64dc98138d63a9548663cdd174141586
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-03 16:48:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-03 16:49:16 +0000

    science/cdk: Update 2.3 -> 2.7.1
    
    Also change to Java-17 to prevent Java crash on aarch64.
    
    Reported by:    fallout (Java crash on aarch64)
---
 science/cdk/Makefile |  6 ++++--
 science/cdk/distinfo | 10 +++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/science/cdk/Makefile b/science/cdk/Makefile
index c001ac1340fe..ce871723ee72 100644
--- a/science/cdk/Makefile
+++ b/science/cdk/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cdk
 DISTVERSIONPREFIX=	cdk-
-DISTVERSION=	2.3
+DISTVERSION=	2.7.1
 CATEGORIES=	science java
 PKGNAMESUFFIX=	-chemistry
 
@@ -15,6 +15,8 @@ BUILD_DEPENDS=	mvn:devel/maven
 USE_JAVA=	yes
 USE_GITHUB=	yes
 
+JAVA_VERSION=	17 # Java 8 fails on aarch64: Internal Error (assembler_aarch64.hpp:237), pid=68892, tid=0x000000000002b995 guarantee(val < (1U << nbits)) failed: Field too big for insn
+
 NO_ARCH=	yes
 
 PLIST_FILES=	${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar
@@ -41,7 +43,7 @@ MVN_ARGS=	--offline
 do-build:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
 		${LOCALBASE}/bin/mvn ${MVN_ARGS} \
-		-fae install \
+		-fae \
 		-Dmaven.test.skip=true \
 		-Duser.home=${WRKDIR} \
 		install
diff --git a/science/cdk/distinfo b/science/cdk/distinfo
index 0b8d90bb182f..41ebbda6aba1 100644
--- a/science/cdk/distinfo
+++ b/science/cdk/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1578560238
-SHA256 (cdk-2.3-deps.tar.gz) = d3df87bc95d2302f92b60bc1e6fd5172c341aae2f831f263f6508de2f31bcf99
-SIZE (cdk-2.3-deps.tar.gz) = 63038171
-SHA256 (cdk-cdk-cdk-2.3_GH0.tar.gz) = 169772895f6d49c5a66e32da059e1d63f5cd77aa3ffdeed4942dcd76eb8d399d
-SIZE (cdk-cdk-cdk-2.3_GH0.tar.gz) = 26499872
+TIMESTAMP = 1654274712
+SHA256 (cdk-2.7.1-deps.tar.gz) = 14e0bd12dcb6fd9d7eb4c663618f37757d141bd97dc682cff76e383769d3072b
+SIZE (cdk-2.7.1-deps.tar.gz) = 50172048
+SHA256 (cdk-cdk-cdk-2.7.1_GH0.tar.gz) = 21d832002bdb873521bbb4f1d5a52a1f624212bc30629f02956530e4c6c75af5
+SIZE (cdk-cdk-cdk-2.7.1_GH0.tar.gz) = 22453710