Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2022 20:09:11 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a44eab742b16 - main - math/moab: Fix build with MPI=on
Message-ID:  <202205212009.24LK9BOH018809@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205212009.24LK9BOH018809>