- Rather than rm share/cmake/hdf5/libhdf5.settings, have cmake not install it.
PR: ports/216330 Submitted by: Tobias C. Berner <tcberner@freebsd.org>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user