Skip to content

Commit

Permalink
xdmf: Remove unwanted internal artifacts
Browse files Browse the repository at this point in the history
.

Closes: https://trac.macports.org/ticket/58807
* Remove unwanted include files that do not belong in a Mac install:
* include/ProjectVersion.hpp
* include/Xdmf.i
* include/XdmfDSM.i
* include/XdmfCore.i
  • Loading branch information
Dave-Allured authored Jan 18, 2025
1 parent 9d46c20 commit 4e3b95e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions science/xdmf/files/patch-no-internal-artifacts.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# https://trac.macports.org/ticket/58807
# Remove include/ProjectVersion.hpp, presuming this is an unwanted
# internal artifact.
# Coincidentally remove three Xdmf*.i files which refer to ProjectVersion.hpp.
# Presumably these files also do not belong in a MacPorts install.

--- CMakeLists.txt.orig 2020-07-23 09:24:13
+++ CMakeLists.txt 2025-01-18 13:36:51
@@ -340,9 +340,8 @@
endif()

file(GLOB XdmfHeaders
- "*.hpp"
+ "X*.hpp"
"*.tpp"
- "*.i"
"${CMAKE_CURRENT_BINARY_DIR}/*.hpp"
)
install(FILES ${XdmfHeaders} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

0 comments on commit 4e3b95e

Please sign in to comment.