git: 5a01079e224b - main - science/openmc: Unbreak LIBMESH option by switching to mpich

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 12 Oct 2021 20:52:20 UTC
The branch main has been updated by yuri:

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

commit 5a01079e224bafb6d19a74496fa78a0cb419eb46
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-10-12 20:50:53 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-10-12 20:52:17 +0000

    science/openmc: Unbreak LIBMESH option by switching to mpich
    
    As it turned out LibMesh fails to compile with OpenMPI-{3,4}
---
 science/openmc/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/science/openmc/Makefile b/science/openmc/Makefile
index 178c65250c23..3e719d598ae4 100644
--- a/science/openmc/Makefile
+++ b/science/openmc/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	openmc
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.12.2
+PORTREVISION=	1
 CATEGORIES=	science
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -29,11 +30,10 @@ OPTIONS_DEFAULT=	MPI OPENMP
 LIBMESH_DESC=		Support for libMesh unstructured mesh tallies
 LIBMESH_CMAKE_BOOL=	libmesh
 LIBMESH_LIB_DEPENDS=	libmesh_opt.so:math/libmesh
-LIBMESH_BROKEN=		https://github.com/openmc-dev/openmc/issues/1893
 
-MPI_VARS=		CXX=${LOCALBASE}/mpi/openmpi/bin/mpic++
-MPI_BUILD_DEPENDS=	openmpi>0:net/openmpi
-MPI_RUN_DEPENDS=	openmpi>0:net/openmpi
+MPI_VARS=		CXX=${LOCALBASE}/bin/mpic++ # compilation breaks with OpenMPI-{3,4} and LIBMESH=ON
+MPI_BUILD_DEPENDS=	mpich>0:net/mpich
+MPI_RUN_DEPENDS=	mpich>0:net/mpich
 
 OPENMP_CMAKE_BOOL=	openmp