git: bb57bb9f69e7 - main - math/dbcsr: Update 2.3.0 -> 2.4.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 02 Sep 2022 15:31:23 UTC
The branch main has been updated by yuri:

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

commit bb57bb9f69e7720f3758b4262dcdcc4490b14969
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-02 15:30:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-02 15:31:20 +0000

    math/dbcsr: Update 2.3.0 -> 2.4.1
    
    Reported by:    portscout
---
 math/dbcsr/Makefile    | 13 +++----------
 math/dbcsr/distinfo    |  6 +++---
 math/dbcsr/pkg-plist   |  8 ++++----
 science/latte/Makefile |  1 +
 4 files changed, 11 insertions(+), 17 deletions(-)

diff --git a/math/dbcsr/Makefile b/math/dbcsr/Makefile
index 47bbedb3afca..e98ad60c08f0 100644
--- a/math/dbcsr/Makefile
+++ b/math/dbcsr/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dbcsr
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.0
+DISTVERSION=	2.4.1
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -15,21 +15,20 @@ BROKEN=		requires OpenMP support that is missing on this architecture
 
 BUILD_DEPENDS=	fypp:devel/py-fypp@${PY_FLAVOR}
 
-USES=		blaslapack:openblas cmake:noninja compiler:c++14-lang fortran \
+USES=		blaslapack:openblas cmake:noninja,testing compiler:c++14-lang fortran \
 		python:build
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	cp2k
 
+FFLAGS+=	-D__NO_STATM_ACCESS # disable /proc/self/statm access
 LDFLAGS+=	-lopenblas
 
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	BUILD_TESTING WITH_EXAMPLES
 CMAKE_ARGS=	-DBLA_VENDOR:STRING="OpenBLAS" -DPython_EXECUTABLE=${PYTHON_CMD}
 
-TEST_TARGET=	test # tests hang: https://github.com/cp2k/dbcsr/issues/72
-
 BINARY_ALIAS=	git=false # with git sonames get messed up
 
 OPTIONS_DEFINE=		MPI OPENMP C_API # libxsmm is supposed to be supported, but cmake build lacks the corresponding option: https://github.com/cp2k/dbcsr/issues/73
@@ -52,10 +51,4 @@ CMAKE_ARGS+=	-DCMAKE_Fortran_FLAGS="${FFLAGS} -fallow-argument-mismatch" # -fall
 CMAKE_ARGS+=	-DCMAKE_Fortran_FLAGS="${FFLAGS}"
 .  endif
 
-do-test: # tests are broken: https://github.com/cp2k/dbcsr/issues/456
-	@cd ${BUILD_WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING: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.post.mk>
diff --git a/math/dbcsr/distinfo b/math/dbcsr/distinfo
index f7f530e195d2..5ddc67c84261 100644
--- a/math/dbcsr/distinfo
+++ b/math/dbcsr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657170713
-SHA256 (cp2k-dbcsr-v2.3.0_GH0.tar.gz) = 1e057648810bcfbd9d33f2b72e9524ce23e1bef086a6ad0b102dcc697f4a3593
-SIZE (cp2k-dbcsr-v2.3.0_GH0.tar.gz) = 2680968
+TIMESTAMP = 1662100976
+SHA256 (cp2k-dbcsr-v2.4.1_GH0.tar.gz) = e5c545ec16688027537f7865976b905c0783d038ec289e65635e63e961330601
+SIZE (cp2k-dbcsr-v2.4.1_GH0.tar.gz) = 2687309
diff --git a/math/dbcsr/pkg-plist b/math/dbcsr/pkg-plist
index d9fad89b1cc9..a2e1c030a73e 100644
--- a/math/dbcsr/pkg-plist
+++ b/math/dbcsr/pkg-plist
@@ -7,8 +7,8 @@ lib/cmake/dbcsr/DBCSRConfigVersion.cmake
 lib/cmake/dbcsr/DBCSRTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/dbcsr/DBCSRTargets.cmake
 lib/libdbcsr.so
-lib/libdbcsr.so.2.3
-lib/libdbcsr.so.2.3.0
+lib/libdbcsr.so.2.4
+lib/libdbcsr.so.2.4.1
 %%C_API%%lib/libdbcsr_c.so
-%%C_API%%lib/libdbcsr_c.so.2.3
-%%C_API%%lib/libdbcsr_c.so.2.3.0
+%%C_API%%lib/libdbcsr_c.so.2.4
+%%C_API%%lib/libdbcsr_c.so.2.4.1
diff --git a/science/latte/Makefile b/science/latte/Makefile
index 38f28d1bcd7a..ce18ff8abaee 100644
--- a/science/latte/Makefile
+++ b/science/latte/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	latte
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.2.2
+PORTREVISION=	1
 CATEGORIES=	science
 
 MAINTAINER=	yuri@FreeBSD.org