pdal: patch to avoid use of Ccache

Closes: https://trac.macports.org/ticket/74004
This commit is contained in:
Nicklas Larsson
2026-05-17 13:04:09 +02:00
committed by Renee Otten
parent b2b5e5a359
commit bcc1d731d5
2 changed files with 29 additions and 1 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ if {${name} eq ${subport}} {
if {${name} eq ${subport}} {
patchfiles-append patch-powerpc.diff \
patch_unordered_map.diff
patch_unordered_map.diff \
patch_ccache.diff
# Build fails on macOS 11 and older, see https://trac.macports.org/ticket/72983.
if { ${os.platform} eq "darwin" && ${os.major} < 21 } {
+27
View File
@@ -0,0 +1,27 @@
Addressed upstream with https://github.com/PDAL/PDAL/pull/5019
--- cmake/options.cmake.orig 2026-03-27 19:26:01
+++ cmake/options.cmake 2026-05-17 12:34:47
@@ -86,6 +86,8 @@
"Choose if e57 support should be built" FALSE)
add_feature_info("E57 plugin" BUILD_PLUGIN_E57
"read/write data to and from e57 format")
+option(E57_WITH_CCACHE
+ "Build libE57Format with Ccache" OFF)
option(BUILD_PLUGIN_ARROW
"Choose if Arrow support should be built" FALSE)
--- plugins/e57/libE57Format/CMakeLists.txt.orig 2026-05-17 12:37:18
+++ plugins/e57/libE57Format/CMakeLists.txt 2026-05-17 12:39:26
@@ -206,8 +206,9 @@
)
# ccache
-# Turns on ccache if found
-include( ccache )
+if ( E57_WITH_CCACHE )
+ include( ccache )
+endif()
# Formatting
include( ClangFormat )