git: e3e220b283d6 - main - Mk/Uses/mpi.mk: fix CMAKE_ARGS when USES=cmake has arguments

Thierry Thomas thierry at FreeBSD.org
Sun Apr 25 13:23:39 UTC 2021


The branch main has been updated by thierry:

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

commit e3e220b283d68098adaa668ef2701bc0cc022992
Author:     Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-04-25 13:21:21 +0000
Commit:     Thierry Thomas <thierry at 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


More information about the dev-commits-ports-all mailing list