diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2019-03-02 13:10:50 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2019-03-02 13:10:50 +0000 |
commit | 1e6fc9c791ac06d5c4686e5611670762756fa776 (patch) | |
tree | f237957f88a71fba7d8760096b0a8b5173dd4bf2 /databases/mongodb40/files/patch-SConstruct | |
parent | games/robocode: Update to 1.9.3.5 (diff) |
New port: databases/mongodb40
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: 234310
Reported by: Eric Madrid <eric@madrid.lol>
Submitted by: Andrew Shevchuk <dev.ashevchuk@gmail.com>
Reviewed by: Michael Booth <michal@wrotkowski.pl>
Notes
Notes:
svn path=/head/; revision=494401
Diffstat (limited to 'databases/mongodb40/files/patch-SConstruct')
-rw-r--r-- | databases/mongodb40/files/patch-SConstruct | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/databases/mongodb40/files/patch-SConstruct b/databases/mongodb40/files/patch-SConstruct new file mode 100644 index 000000000000..3c44d579d094 --- /dev/null +++ b/databases/mongodb40/files/patch-SConstruct @@ -0,0 +1,32 @@ +--- SConstruct.orig 2018-01-04 23:28:55 UTC ++++ SConstruct +@@ -922,9 +922,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(unknown_vars.keys())) ++#unknown_vars = env_vars.UnknownVariables() ++#if unknown_vars: ++# env.FatalError("Unknown variables specified: {0}", ", ".join(unknown_vars.keys())) + + def set_config_header_define(env, varname, varval = 1): + env['CONFIG_HEADER_DEFINES'][varname] = varval +@@ -1612,7 +1612,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'], + ) + +@@ -1626,7 +1626,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"] ) |