summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/vtk6/Makefile7
-rw-r--r--math/vtk6/files/patch-ThirdParty_hdf5_vtkhdf5_CMakeInstallation.cmake16
2 files changed, 18 insertions, 5 deletions
diff --git a/math/vtk6/Makefile b/math/vtk6/Makefile
index 9f4c64c504b1..b8550f8c2f55 100644
--- a/math/vtk6/Makefile
+++ b/math/vtk6/Makefile
@@ -17,7 +17,8 @@ LICENSE= BSD3CLAUSE
LIB_DEPENDS= libtiff.so:graphics/tiff \
libpng.so:graphics/png \
libfreetype.so:print/freetype2 \
- libexpat.so:textproc/expat2
+ libexpat.so:textproc/expat2 \
+ libc++.so:devel/libc++
#
# TODO
@@ -217,8 +218,4 @@ BUILD_DEPENDS+= doxygen:devel/doxygen
CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=OFF
.endif
-post-install:
-# So that this port doesn't clash with science/paraview:
- ${RM} ${STAGEDIR}${PREFIX}/share/cmake/hdf5/libhdf5.settings
-
.include <bsd.port.mk>
diff --git a/math/vtk6/files/patch-ThirdParty_hdf5_vtkhdf5_CMakeInstallation.cmake b/math/vtk6/files/patch-ThirdParty_hdf5_vtkhdf5_CMakeInstallation.cmake
new file mode 100644
index 000000000000..e0d79f2444b6
--- /dev/null
+++ b/math/vtk6/files/patch-ThirdParty_hdf5_vtkhdf5_CMakeInstallation.cmake
@@ -0,0 +1,16 @@
+So that this port doesn't clash with science/paraview:
+
+--- ThirdParty/hdf5/vtkhdf5/CMakeInstallation.cmake.orig 2017-01-20 17:51:20 UTC
++++ ThirdParty/hdf5/vtkhdf5/CMakeInstallation.cmake
+@@ -105,11 +105,6 @@ configure_file (
+ ${HDF5_RESOURCES_DIR}/libhdf5.settings.cmake.in
+ ${HDF5_BINARY_DIR}/libhdf5.settings @ONLY
+ )
+-install (
+- FILES ${HDF5_BINARY_DIR}/libhdf5.settings
+- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}
+- COMPONENT libraries
+-)
+
+ #-----------------------------------------------------------------------------
+ # Configure the HDF518_Examples.cmake file and the examples