New comment by kruceter on void-packages repository https://github.com/void-linux/void-packages/pull/40423#issuecomment-1321014818 Comment: > We definitely want to use system dependencies, can we fix it by adding json-c++ to makedepends? Certainly. Also fmt-devel and eigen are already present in the repository, so they are used in my case, too. [vtk.txt](https://github.com/void-linux/void-packages/files/10048296/vtk.txt) [vtk-query.txt](https://github.com/void-linux/void-packages/files/10048300/vtk-query.txt) ```diff diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template index dfabbb649a..147718c690 100644 --- a/srcpkgs/vtk/template +++ b/srcpkgs/vtk/template @@ -6,21 +6,21 @@ build_style=cmake # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON" # Build only the core modules plus python bindings for now configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_FORBID_DOWNLOADS=ON - -DVTK_USE_EXTERNAL=OFF + -DVTK_USE_EXTERNAL=ON -DVTK_MODULE_USE_EXTERNAL_VTK_utf8=OFF -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=OFF -DVTK_MODULE_USE_EXTERNAL_VTK_libharu=OFF -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF - -DVTK_MODULE_USE_EXTERNAL_VTK_fmt=OFF - -DVTK_MODULE_USE_EXTERNAL_vtknlohmannjson=OFF - -DVTK_MODULE_USE_EXTERNAL_vtkeigen=OFF + -DVTK_MODULE_USE_EXTERNAL_VTK_cgns=OFF + -DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF + -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF -DVTK_WRAP_PYTHON=ON -DVTK_PYTHON_VERSION=3" # vtk forks libharu, bumps to v2.4.0, and requires libharu>=2.4.0 makedepends="zlib-devel freetype-devel liblz4-devel expat-devel MesaLib-devel libXt-devel libjpeg-turbo-devel tiff-devel hdf5-devel netcdf-devel libxml2-devel jsoncpp-devel openmpi-devel libogg-devel libtheora-devel eigen double-conversion-devel glew-devel pugixml-devel sqlite-devel - gl2ps-devel proj-devel python3-devel" + gl2ps-devel proj-devel python3-devel json-c++ fmt-devel" short_desc="System for 3D computer graphics, image processing, and visualization" maintainer="Piraty " license="BSD-3-Clause" ```