aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-05-21 20:08:17 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-05-21 20:09:09 +0000
commita44eab742b16146cf4cc068645e992cb488507eb (patch)
treeac78bde994eecd202044248f6197a38b65911649
parentf6c4e87eaecce5517412ffeab9f0b0be83a0e512 (diff)
downloadports-a44eab742b16146cf4cc068645e992cb488507eb.tar.gz
ports-a44eab742b16146cf4cc068645e992cb488507eb.zip
math/moab: Fix build with MPI=on
MPI compiler wasn't always used. Reported by: fallout
-rw-r--r--math/moab/Makefile3
1 files changed, 1 insertions, 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: