ports/math/libpgmath/files/patch-CMakeLists.txt
Johannes M Dieterich 407849a7a7 math/libpgmath: update to latest snapshot
Bump LLVM requirement to devel/llvm70. Unify handling in port.
2019-10-20 18:07:29 +00:00

11 lines
382 B
Text

--- CMakeLists.txt.orig 2019-10-20 14:17:43 UTC
+++ CMakeLists.txt
@@ -52,7 +52,7 @@ if (LIBPGMATH_STANDALONE_BUILD)
endif()
set(LIBPGMATH_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}")
-if ("${LIBPGMATH_SYSTEM_NAME}" STREQUAL "OpenBSD")
+if ("${LIBPGMATH_SYSTEM_NAME}" STREQUAL "OpenBSD" OR "${LIBPGMATH_SYSTEM_NAME}" STREQUAL "FreeBSD")
set(LIBPGMATH_SYSTEM_NAME "Linux")
endif ()