summaryrefslogtreecommitdiff
path: root/math/libpgmath/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'math/libpgmath/files/patch-CMakeLists.txt')
-rw-r--r--math/libpgmath/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/libpgmath/files/patch-CMakeLists.txt b/math/libpgmath/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..6497cdb6b554
--- /dev/null
+++ b/math/libpgmath/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- 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 ()
+