git: d19ac80c27d4 - main - science/paraview: Fix MPICH option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 06:23:29 UTC
The branch main has been updated by sunpoet:

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

commit d19ac80c27d4281a7fbee026578d7d384f1240da
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:30:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:18:35 +0000

    science/paraview: Fix MPICH option
    
    - Bump PORTREVISION for dependency change
    
    MPICH option should depends on net/py-mpi4py-mpich rather than net/py-mpi4py
    which uses openmpi.
    
    Note that this port still does not build due to its dependency (math/openturns)
    fails at configure stage. [1][2][3]
    
    Reference:      https://pkg-status.freebsd.org/beefy16/data/133amd64-default/a760f6876277/logs/openturns-1.23_2.log [1]
                    https://pkg-status.freebsd.org/beefy22/data/140amd64-default/935c61ac4bff/logs/openturns-1.23_2.log [2]
                    https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pa760f6876277_s5cbb98c8259/logs/openturns-1.23_2.log [3]
    Approved by:    portmgr (blanket)
---
 science/paraview/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/science/paraview/Makefile b/science/paraview/Makefile
index 7f330a5f587c..0f75a1d16d8b 100644
--- a/science/paraview/Makefile
+++ b/science/paraview/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	paraview
 DISTVERSION=	${PARAVIEW_VER}.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	science graphics
 MASTER_SITES=	http://www.paraview.org/files/v${PARAVIEW_VER}/
 DISTNAME=	ParaView-v${PORTVERSION}
@@ -113,8 +113,8 @@ OPTIONS_SUB=	yes
 OSMESA_DESC=	Use Mesa for off-screen rendering
 
 # mpi4py and other programs must be compiled against the same MPI provider
-MPICH_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR}
-MPICH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR}
+MPICH_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mpi4py-mpich>=0:net/py-mpi4py-mpich@${PY_FLAVOR}
+MPICH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mpi4py-mpich>=0:net/py-mpi4py-mpich@${PY_FLAVOR}
 MPICH_USES=		mpi # mpich is set by default, use mpi:openmpi if needed
 MPICH_CMAKE_ON=		-DPARAVIEW_USE_MPI:BOOL=ON
 MPICH_CMAKE_OFF=		-DPARAVIEW_USE_MPI:BOOL=OFF