git: 2e8cd6e858e2 - main - math/dbcsr: Change dependency to mpich to match science/cp2k

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 26 Aug 2024 00:52:30 UTC
The branch main has been updated by yuri:

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

commit 2e8cd6e858e268227199560c7f70ce0dfdbab067
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-25 19:28:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-26 00:52:22 +0000

    math/dbcsr: Change dependency to mpich to match science/cp2k
---
 math/dbcsr/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/math/dbcsr/Makefile b/math/dbcsr/Makefile
index 39c7db5695d6..924676e7fd64 100644
--- a/math/dbcsr/Makefile
+++ b/math/dbcsr/Makefile
@@ -32,12 +32,13 @@ CMAKE_ARGS=	-DBLA_VENDOR:STRING="OpenBLAS" -DPython_EXECUTABLE=${PYTHON_CMD}
 
 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
-OPTIONS_DEFAULT=	MPI OPENMP C_API
+OPTIONS_DEFINE=		MPIX OPENMP C_API # libxsmm is supposed to be supported, but cmake build lacks the corresponding option: https://github.com/cp2k/dbcsr/issues/73
+OPTIONS_DEFAULT=	MPIX OPENMP C_API
 OPTIONS_SUB=		yes
 
-MPI_CMAKE_BOOL=		USE_MPI
-MPI_LIB_DEPENDS=	libmpi_cxx.so:net/openmpi4
+MPIX_DESC=		Use OpenMPI
+MPIX_CMAKE_BOOL=	USE_MPI
+MPIX_USES=		mpi:mpich
 
 OPENMP_CMAKE_BOOL=	USE_OPENMP