git: a44eab742b16 - main - math/moab: Fix build with MPI=on
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 May 2022 20:09:11 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a44eab742b16146cf4cc068645e992cb488507eb
commit a44eab742b16146cf4cc068645e992cb488507eb
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-21 20:08:17 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-21 20:09:09 +0000
math/moab: Fix build with MPI=on
MPI compiler wasn't always used.
Reported by: fallout
---
math/moab/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/math/moab/Makefile b/math/moab/Makefile
index 82eda331ad5c..6f6471814442 100644
--- a/math/moab/Makefile
+++ b/math/moab/Makefile
@@ -33,9 +33,8 @@ OPTIONS_SUB= yes
MPI_CMAKE_BOOL= ENABLE_MPI
MPI_LIB_DEPENDS= libmpi.so:net/openmpi
-MPI_LDFLAGS= -L${LOCALBASE}/mpi/openmpi/lib
MPI_VARS= CXX=${LOCALBASE}/mpi/openmpi/bin/mpic++ CC=${LOCALBASE}/mpi/openmpi/bin/mpicc
-MPI_VARS= CONFLICTS_BUILD=mpich # otherwise bin/hexmodops gets linked with libmpi.so:net/mpich
+MPI_VARS+= CONFLICTS_BUILD=mpich # otherwise bin/hexmodops gets linked with libmpi.so:net/mpich
MPI_VARS_OFF= USES=compiler:c++11-lang
post-install: