git: 8b4fa178c4d8 - main - math/dihydrogen: Change to MPICH; Add missing LIB_DEPENDS

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 06 Dec 2022 05:50:22 UTC
The branch main has been updated by yuri:

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

commit 8b4fa178c4d83ac8dea73c9d5d5f891c3fae09b6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-06 02:45:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-06 05:50:19 +0000

    math/dihydrogen: Change to MPICH; Add missing LIB_DEPENDS
    
    MPICH is needed to match misc/lbann.
---
 math/dihydrogen/Makefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/math/dihydrogen/Makefile b/math/dihydrogen/Makefile
index f7e4d8437a2a..82c49de0e202 100644
--- a/math/dihydrogen/Makefile
+++ b/math/dihydrogen/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	dihydrogen
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.2.1-36
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-g4bda15e
 CATEGORIES=	math
 
@@ -10,8 +11,13 @@ WWW=		https://github.com/LLNL/DiHydrogen
 
 LICENSE=	BSD2CLAUSE
 
-LIB_DEPENDS=	libfmt.so:devel/libfmt \
-		libspdlog.so:devel/spdlog
+LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim \
+		libfabric.so:net/libfabric \
+		libfmt.so:devel/libfmt \
+		libhwloc.so:devel/hwloc2 \
+		libjson-c.so:devel/json-c \
+		libspdlog.so:devel/spdlog \
+		libze_loader.so:devel/level-zero
 TEST_DEPENDS=	catch>0:devel/catch
 
 USES=		cmake:testing compiler:c++17-lang
@@ -28,7 +34,7 @@ CMAKE_TESTING_ON=	H2_ENABLE_TESTS
 
 OPTIONS_SINGLE=		MPI
 OPTIONS_SINGLE_MPI=	MPICH OPENMPI
-OPTIONS_DEFAULT=	OPENMPI
+OPTIONS_DEFAULT=	MPICH # should be same as in misc/lbann
 
 MPICH_USES=		mpi:mpich