You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
pdal: patch to avoid use of Ccache
Closes: https://trac.macports.org/ticket/74004
This commit is contained in:
committed by
Renee Otten
parent
b2b5e5a359
commit
bcc1d731d5
+2
-1
@@ -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 } {
|
||||
|
||||
@@ -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 )
|
||||
Reference in New Issue
Block a user