git: c5a34d7210f1 - main - math/vtk9: Fix build breakage at plugins.qmltypes: Undefined symbol "ompi_mpi_comm_world"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jun 2023 04:51:11 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c5a34d7210f1005facee35d97cbe325a888d9af8
commit c5a34d7210f1005facee35d97cbe325a888d9af8
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-23 04:49:29 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-23 04:51:09 +0000
math/vtk9: Fix build breakage at plugins.qmltypes: Undefined symbol "ompi_mpi_comm_world"
PR: 267320
Reported by: alt2600@icloud.com
---
math/vtk9/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile
index 34368e2814ff..4158c54d113b 100644
--- a/math/vtk9/Makefile
+++ b/math/vtk9/Makefile
@@ -88,6 +88,8 @@ DESIGNER_IMPLIES= QT5
OMPI_CMAKE_BOOL= VTK_USE_MPI
OMPI_USES= mpi:openmpi
+OMPI_CMAKE_ON= -DMPI_HOME=${LOCALBASE}/mpi/openmpi
+OMPI_LDFLAGS= ${MPI_LIBS}
OSMESA_CMAKE_ON= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
-DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \