git: b0c2eb73e1e0 - main - math/vtk9: Add net/py-mpi4py dependency
Date: Wed, 19 Oct 2022 01:21:35 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b0c2eb73e1e022360f1cd2486e38fcd0564314cd commit b0c2eb73e1e022360f1cd2486e38fcd0564314cd Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-10-19 00:36:32 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-10-19 01:21:32 +0000 math/vtk9: Add net/py-mpi4py dependency ... after the bundled version of mpi4py was recently removed. --- math/vtk9/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile index 466958c68ffd..116521129e1b 100644 --- a/math/vtk9/Makefile +++ b/math/vtk9/Makefile @@ -1,6 +1,6 @@ PORTNAME= vtk DISTVERSION= 9.1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math graphics MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 @@ -19,6 +19,8 @@ LIB_DEPENDS= \ libnetcdf.so:science/netcdf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} USES= alias cmake compiler:c++11-lang gl jpeg localbase xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} @@ -27,7 +29,7 @@ USE_XORG= ice x11 xt xext sm xcursor xfixes xrender CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION \ Module_vtkTestingCore Module_vtkTestingRendering -.for m in expat freetype hdf5 jpeg netcdf png tiff zlib +.for m in expat freetype hdf5 jpeg netcdf png tiff zlib # mpi4py should be here, but this fails, see https://gitlab.kitware.com/vtk/vtk/-/issues/18693 CMAKE_ON+= VTK_MODULE_USE_EXTERNAL_VTK_${m} .endfor CMAKE_ARGS= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \