summaryrefslogtreecommitdiff
path: root/databases/arangodb32/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /databases/arangodb32/files/patch-CMakeLists.txt
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'databases/arangodb32/files/patch-CMakeLists.txt')
-rw-r--r--databases/arangodb32/files/patch-CMakeLists.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/databases/arangodb32/files/patch-CMakeLists.txt b/databases/arangodb32/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..05d422b21018
--- /dev/null
+++ b/databases/arangodb32/files/patch-CMakeLists.txt
@@ -0,0 +1,43 @@
+--- CMakeLists.txt.orig 2018-04-11 15:16:11 UTC
++++ CMakeLists.txt
+@@ -38,9 +38,9 @@ if (NOT CMAKE_OSX_DEPLOYMENT_TARGET)
+ endif ()
+
+ if (WIN32)
+- project(arangodb3 CXX C)
++ project(arangodb CXX C)
+ else ()
+- project(arangodb3 CXX C ASM)
++ project(arangodb CXX C ASM)
+ endif ()
+
+ # required for clang completion in editors
+@@ -377,7 +377,7 @@ if (CMAKE_COMPILER_IS_GNUCC OR APPLE)
+ endif ()
+
+ if (CMAKE_COMPILER_IS_CLANG)
+- if (APPLE)
++ if (APPLE OR FREEBSD)
+ set(BASE_CXX_FLAGS "${BASE_CXX_FLAGS} -stdlib=libc++")
+ add_definitions("-Wno-deprecated-declarations")
+ else ()
+@@ -483,7 +483,7 @@ else ()
+
+ include(VcMacros)
+
+- option(USE_OPTIMIZE_FOR_ARCHITECTURE "try to determine CPU architecture" ON)
++ option(USE_OPTIMIZE_FOR_ARCHITECTURE "try to determine CPU architecture" OFF)
+
+ if (USE_OPTIMIZE_FOR_ARCHITECTURE)
+ # mop: core2 (merom) is our absolute minimum!
+@@ -594,9 +594,7 @@ endif ()
+ ################################################################################
+
+ if (NOT WINDOWS)
+- set(SYS_LIBS ${SYS_LIBS} resolv)
+-
+- if (NOT DARWIN)
++ if (NOT DARWIN OR FREEBSD)
+ set(SYS_LIBS ${SYS_LIBS} rt)
+ endif ()
+ endif ()