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)
This commit is contained in:
Yuri Victorovich 2022-06-03 09:48:04 -07:00
parent e8ab8ef3fc
commit 19bb305f64
2 changed files with 9 additions and 7 deletions

View file

@ -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

View file

@ -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