summaryrefslogtreecommitdiff
path: root/databases/mongodb42/files/patch-SConstruct
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2020-06-07 09:50:02 +0000
committerKurt Jaeger <pi@FreeBSD.org>2020-06-07 09:50:02 +0000
commitea770fa14bf781db88e3f44a5f241b40f3dd1010 (patch)
tree9f986aed5e918fa136bd7a894271c7e5d74f05da /databases/mongodb42/files/patch-SConstruct
parent- Fix WWW, github page is gone (diff)
New port: databases/mongodb42
Mongo (from "humongous") is a high-performance, open source, schema-free, document-oriented database. A common name in the "NOSQL" community. WWW: https://www.mongodb.com/ PR: 242002 Submitted by: Ronald Klop <ronald-lists@klop.ws> Reviewed by: koobs, mikael Relnotes: https://docs.mongodb.com/manual/release-notes/4.2/
Notes
Notes: svn path=/head/; revision=538150
Diffstat (limited to '')
-rw-r--r--databases/mongodb42/files/patch-SConstruct33
1 files changed, 33 insertions, 0 deletions
diff --git a/databases/mongodb42/files/patch-SConstruct b/databases/mongodb42/files/patch-SConstruct
new file mode 100644
index 000000000000..011674b57ac9
--- /dev/null
+++ b/databases/mongodb42/files/patch-SConstruct
@@ -0,0 +1,33 @@
+--- SConstruct.orig 2019-08-08 20:06:23 UTC
++++ SConstruct
+@@ -1068,9 +1068,9 @@ if has_option('variables-help'):
+ print((env_vars.GenerateHelpText(env)))
+ Exit(0)
+
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+- env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++# env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+
+ def set_config_header_define(env, varname, varval = 1):
+ env['CONFIG_HEADER_DEFINES'][varname] = varval
+@@ -1851,7 +1851,7 @@ if env.TargetOSIs('posix'):
+ # If runtime hardening is requested, then build anything
+ # destined for an executable with the necessary flags for PIE.
+ env.AppendUnique(
+- PROGCCFLAGS=['-fPIE'],
++ PROGCCFLAGS=['-fpic'],
+ PROGLINKFLAGS=['-pie'],
+ )
+
+@@ -1865,7 +1865,7 @@ if env.TargetOSIs('posix'):
+ "-Wno-unknown-pragmas",
+ "-Winvalid-pch"] )
+ # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
+- if env.TargetOSIs('linux', 'darwin', 'solaris'):
++ if env.TargetOSIs('linux', 'darwin', 'solaris', 'freebsd'):
+ if not has_option("disable-warnings-as-errors"):
+ env.Append( CCFLAGS=["-Werror"] )
+