Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2021 13:23:38 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e3e220b283d6 - main - Mk/Uses/mpi.mk: fix CMAKE_ARGS when USES=cmake has arguments
Message-ID:  <202104251323.13PDNc72005872@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

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

commit e3e220b283d68098adaa668ef2701bc0cc022992
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-04-25 13:21:21 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-04-25 13:23:18 +0000

    Mk/Uses/mpi.mk: fix CMAKE_ARGS when USES=cmake has arguments
---
 Mk/Uses/mpi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/Uses/mpi.mk b/Mk/Uses/mpi.mk
index c041cebeef27..62d86a289fd2 100644
--- a/Mk/Uses/mpi.mk
+++ b/Mk/Uses/mpi.mk
@@ -57,7 +57,7 @@ MPICXX=		${MPI_HOME}/bin/mpicxx
 MPIEXEC=	${MPI_HOME}/bin/mpiexec
 MPIRUN=		${MPI_HOME}/bin/mpirun
 
-.if ${USES:Mcmake}
+.if ${USES:Mcmake} || ${USES:Mcmake\:*}
 CMAKE_ARGS+=	-DMPIEXEC_EXECUTABLE:FILEPATH="${MPIEXEC}"	\
 		-DMPI_HOME:PATH="${MPI_HOME}"
 .endif



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