ports/devel/immer/files/patch-cmake_FindBoehmGC.cmake
Jason E. Hale 391e3102b5 devel/immer: Add port
Immer is a library of persistent and immutable data structures written
in C++. These enable whole new kinds of architectures for interactive
and concurrent programs of striking simplicity, correctness, and
performance.

https://sinusoid.es/immer/
2023-10-05 08:13:50 -04:00

11 lines
533 B
CMake

--- cmake/FindBoehmGC.cmake.orig 2023-10-04 09:47:41 UTC
+++ cmake/FindBoehmGC.cmake
@@ -57,7 +57,7 @@ IF (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
IF (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
# checks if 'gc' supports 'GC_get_parallel' and if it does
# then use it
- INCLUDE(${CMAKE_ROOT}/Modules/CheckCSourceCompiles.cmake)
+ INCLUDE(${CMAKE_ROOT}/Modules/CheckCSourceRuns.cmake)
# not sure if this links properly...
FIND_LIBRARY(BOEHM_GC_LIBRARIES NAMES gc
HINTS ${PC_BDW_GC_LIBDIR} ${PC_BDW_GC_LIBRARY_DIRS})