git: 4b1f89504cef - main - cad/freecad: fix mpi dependency after 1f7e038474

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Fri, 01 Jul 2022 19:20:02 UTC
The branch main has been updated by cmt:

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

commit 4b1f89504cef5c528dca83b47bd4e1a74997c8a6
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2022-07-01 19:18:12 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2022-07-01 19:18:12 +0000

    cad/freecad: fix mpi dependency after 1f7e038474
    
    In 1f7e038474, math/vtk9 was switched from openmpi to mpich.
    FreeCAD picks up the dependency from vtk9 and links to the same
    library, which is now libmpi from mpich.
---
 cad/freecad/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile
index ae4ecbd4f147..16b73b165e74 100644
--- a/cad/freecad/Makefile
+++ b/cad/freecad/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	FreeCAD
 DISTVERSION=	0.20
+PORTREVISION=	1
 # use these for bugfixes/snapshots
 # DISTVERSION=	0.18-16093 # git rev-list --count
 # DISTVERSIONSUFFIX=	-g690774c0e
@@ -27,7 +28,7 @@ LIB_DEPENDS=	libexpat.so:textproc/expat2 \
 		libboost_thread.so:devel/boost-libs \
 		libarea.so:devel/libarea \
 		libmed.so:french/med \
-		libmpi.so:net/openmpi \
+		libmpi.so:net/mpich \
 		libshiboken2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/shiboken2@${PY_FLAVOR} \
 		libhdf5.so:science/hdf5
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pivy>0:graphics/py-pivy@${PY_FLAVOR} \