Files
macports-ports/sysutils/extfstools/files/boilerplate.cmake.patch
Ryan Carsten Schmidt be1981e272 extfstools: Update to 20230925-3541ca09
Switch from manually-created Makefile to CMake. The bundled itslib has
been removed so download it separately. To avoid a dependency on boost,
also download and use cpputils.

Closes: https://trac.macports.org/ticket/71472
2024-12-06 11:02:59 -06:00

15 lines
612 B
Diff

Recognize CLT SDK
https://github.com/nlitsme/cpputils/issues/3
https://github.com/nlitsme/cpputils/pull/4
--- cmake_find/boilerplate.cmake.orig 2024-11-06 14:36:11.000000000 -0600
+++ cmake_find/boilerplate.cmake 2024-12-06 10:41:38.000000000 -0600
@@ -22,7 +22,7 @@
set(IPHONE TRUE)
elseif (${CMAKE_OSX_SYSROOT} MATCHES "/iPhoneSimulator.platform")
set(IPHONESIM TRUE)
- elseif (${CMAKE_OSX_SYSROOT} MATCHES "/MacOSX.platform")
+ elseif (${CMAKE_OSX_SYSROOT} MATCHES "/MacOSX.*\.sdk$")
set(MACOS TRUE)
else()
message(FATAL_ERROR "Unsupported apple platform")