summaryrefslogtreecommitdiff
path: root/science/libcint
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-14 12:55:51 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-14 13:15:02 -0700
commitb1f9b88ed149bbf85e467686a9dcce91e1142224 (patch)
tree5aa5618568eeb128fecb18fa1a129f2a45e81394 /science/libcint
parentdac4f0201d015336ca9fe980a00f78c82e00efa6 (diff)
downloadfreebsd-ports-b1f9b88ed149bbf85e467686a9dcce91e1142224.zip
science/libcint: Update 4.1.2 -> 4.1.3
Reported by: portscout
Diffstat (limited to 'science/libcint')
-rw-r--r--science/libcint/Makefile11
-rw-r--r--science/libcint/distinfo6
2 files changed, 12 insertions, 5 deletions
diff --git a/science/libcint/Makefile b/science/libcint/Makefile
index 0aed7709ff55..dc0ef8cb00a8 100644
--- a/science/libcint/Makefile
+++ b/science/libcint/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libcint
DISTVERSIONPREFIX= v
-DISTVERSION= 4.1.2
+DISTVERSION= 4.1.3
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
@@ -12,9 +12,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libopenblas.so:math/openblas
USES= cmake blaslapack:openblas
+USE_LDCONFIG= yes
+
USE_GITHUB= yes
GH_ACCOUNT= sunqm
-USE_LDCONFIG= yes
PLIST_FILES= include/cint.h \
include/cint_funcs.h \
@@ -22,4 +23,10 @@ PLIST_FILES= include/cint.h \
lib/libcint.so.${PORTVERSION:R:R} \
lib/libcint.so.${PORTVERSION}
+do-test: # tests fail: https://github.com/sunqm/libcint/issues/54
+ @cd ${BUILD_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DENABLE_TEST:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
+
.include <bsd.port.mk>
diff --git a/science/libcint/distinfo b/science/libcint/distinfo
index a3b3da84247d..03dd7fd45dea 100644
--- a/science/libcint/distinfo
+++ b/science/libcint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618272179
-SHA256 (sunqm-libcint-v4.1.2_GH0.tar.gz) = a0286e820d2fd90a471a54b7d1c2daf6c95e7308c1a0802c9842d54232954dcf
-SIZE (sunqm-libcint-v4.1.2_GH0.tar.gz) = 42989071
+TIMESTAMP = 1618428981
+SHA256 (sunqm-libcint-v4.1.3_GH0.tar.gz) = 2c43ab8767e1a926990f7c3224992b5d73733c49eecf6c1fe4a6c2b4d9a00acd
+SIZE (sunqm-libcint-v4.1.3_GH0.tar.gz) = 42989184