Skip to content

Commit

Permalink
science/paraview: fix build against pdal 2.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Feb 24, 2024
1 parent 4514eec commit bf09746
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions science/paraview/Makefile
@@ -1,6 +1,6 @@
PORTNAME= paraview
DISTVERSION= ${PARAVIEW_VER}.2
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= science graphics
MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/
DISTNAME= ParaView-v${PORTVERSION}
Expand Down Expand Up @@ -38,7 +38,7 @@ LIB_DEPENDS= libhdf5.so:science/hdf5 \
libgeos.so:graphics/geos \
libhpdf.so:print/libharu \
libproj.so:graphics/proj \
libpdal_base.so:math/pdal \
libpdalcpp.so:math/pdal \
libdrm.so:graphics/libdrm \
libcgns.so:science/cgnslib \
liblz4.so:archivers/liblz4 \
Expand Down
18 changes: 18 additions & 0 deletions science/paraview/files/patch-VTK_IO_PDAL_CMakeLists.txt
@@ -0,0 +1,18 @@
--- VTK/IO/PDAL/CMakeLists.txt.orig 2024-02-22 20:32:51 UTC
+++ VTK/IO/PDAL/CMakeLists.txt
@@ -3,14 +3,7 @@ set(classes
set(classes
vtkPDALReader)

-set(pdal_libraries pdal_util)
-if (APPLE OR WIN32)
- list(APPEND pdal_libraries
- pdalcpp)
-else()
- list(APPEND pdal_libraries
- pdal_base)
-endif()
+set(pdal_libraries pdalcpp)

vtk_module_add_module(VTK::IOPDAL
CLASSES ${classes})

0 comments on commit bf09746

Please sign in to comment.