summaryrefslogtreecommitdiff
path: root/databases/mongodb60/files/patch-SConstruct
diff options
context:
space:
mode:
authorRonald Klop <ronald@FreeBSD.org>2022-10-25 12:20:00 +0200
committerRonald Klop <ronald@FreeBSD.org>2022-10-26 18:18:34 +0200
commitcbde7a63952df7113308e7e2ea2a0a1fec056719 (patch)
treeaa180eca9e1c885992acd352e44bfae55f630ca0 /databases/mongodb60/files/patch-SConstruct
parentsecurity/strongswan: Add GCM option to OPTIONS_DEFAULT (diff)
databases/mongodb60: update to 6.0.2
Summary: - automate mozjs configuration - enables powerpc64le support - overwrites the upstream amd64 configuration which fixes the build - removes almost 1 MB of patches for aarch64 - use more system libs and llvm-ar (thanks to dizzy@) - Fix removal of (lib)zstd/zstandard directory which fixes the build on all supported platforms - change my maintainer email to @FreeBSD.org changes: https://www.mongodb.com/docs/manual/release-notes/6.0/#6.0.2---sep-28--2022 PR: 266587 Tested by: dizzy (libs), pkubaj (powerpc64le) Approved by: pkubaj (mentor), rene (mentor) Co-Authored-By: dizzy, pkubaj Differential Revision: https://reviews.freebsd.org/D37130
Diffstat (limited to 'databases/mongodb60/files/patch-SConstruct')
-rw-r--r--databases/mongodb60/files/patch-SConstruct14
1 files changed, 10 insertions, 4 deletions
diff --git a/databases/mongodb60/files/patch-SConstruct b/databases/mongodb60/files/patch-SConstruct
index 8fc64862a51e..84d453d69e95 100644
--- a/databases/mongodb60/files/patch-SConstruct
+++ b/databases/mongodb60/files/patch-SConstruct
@@ -1,6 +1,6 @@
---- SConstruct.orig 2021-07-15 20:56:31 UTC
+--- SConstruct.orig 2022-08-05 16:21:29 UTC
+++ SConstruct
-@@ -1328,9 +1328,9 @@ if has_option('variables-help'):
+@@ -1342,9 +1342,9 @@ if has_option('variables-help'):
print(env_vars.GenerateHelpText(env))
Exit(0)
@@ -13,7 +13,7 @@
if get_option('install-action') != 'default' and get_option('ninja') != "disabled":
env.FatalError("Cannot use non-default install actions when generating Ninja.")
-@@ -2507,7 +2507,7 @@ if env.TargetOSIs('posix'):
+@@ -2427,13 +2427,12 @@ if env.TargetOSIs('posix'):
# If runtime hardening is requested, then build anything
# destined for an executable with the necessary flags for PIE.
env.AppendUnique(
@@ -22,7 +22,13 @@
PROGLINKFLAGS=['-pie'],
)
-@@ -2684,8 +2684,12 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too
+ # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
+ env.Append( CCFLAGS=["-fasynchronous-unwind-tables",
+- "-ggdb" if not env.TargetOSIs('emscripten') else "-g",
+ "-Wall",
+ "-Wsign-compare",
+ "-Wno-unknown-pragmas",
+@@ -2600,8 +2599,12 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too
# setting it for both C and C++ by setting both of CFLAGS and
# CXXFLAGS.