mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
databases/mongodb44: Update to 4.4.7
- Add a fix for compilation on aarch64 on 14-CURRENT/clang 12. See: https://lists.freebsd.org/archives/freebsd-ports/2021-July/000431.html Changelog: https://docs.mongodb.com/manual/release-notes/4.4-changelog/#4.4.7-changelog PR: 257393 Approved by: lwhsu (mentor, implicit)
This commit is contained in:
parent
659ba57bb6
commit
0034d834df
3 changed files with 21 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= mongodb
|
||||
DISTVERSIONPREFIX= r
|
||||
DISTVERSION= 4.4.6
|
||||
DISTVERSION= 4.4.7
|
||||
CATEGORIES= databases net
|
||||
MASTER_SITES= https://fastdl.mongodb.org/src/ \
|
||||
http://fastdl.mongodb.org/src/
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1620589981
|
||||
SHA256 (mongodb-src-r4.4.6.tar.gz) = b5189aa87977137574cd75432dac9bb91699d322358f857b7b6d1e191fbd2f32
|
||||
SIZE (mongodb-src-r4.4.6.tar.gz) = 50069717
|
||||
TIMESTAMP = 1626429656
|
||||
SHA256 (mongodb-src-r4.4.7.tar.gz) = 5deaa20aa92dcf33558b323b45e1fcae413f69b3eb088b98e1eb243f1ac68727
|
||||
SIZE (mongodb-src-r4.4.7.tar.gz) = 50442373
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--- SConstruct.orig 2019-08-08 20:06:23 UTC
|
||||
--- SConstruct.orig 2021-07-07 09:17:06 UTC
|
||||
+++ SConstruct
|
||||
@@ -1068,9 +1068,9 @@ if has_option('variables-help'):
|
||||
print((env_vars.GenerateHelpText(env)))
|
||||
@@ -1213,9 +1213,9 @@ if has_option('variables-help'):
|
||||
print(env_vars.GenerateHelpText(env))
|
||||
Exit(0)
|
||||
|
||||
-unknown_vars = env_vars.UnknownVariables()
|
||||
|
@ -11,9 +11,9 @@
|
|||
+#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 get_option('install-action') != 'default' and get_option('ninja') != "disabled":
|
||||
env.FatalError("Cannot use non-default install actions when generating Ninja.")
|
||||
@@ -2091,7 +2091,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(
|
||||
|
@ -22,7 +22,7 @@
|
|||
PROGLINKFLAGS=['-pie'],
|
||||
)
|
||||
|
||||
@@ -1865,7 +1865,7 @@ if env.TargetOSIs('posix'):
|
||||
@@ -2106,7 +2106,7 @@ if env.TargetOSIs('posix'):
|
||||
"-Wno-unknown-pragmas",
|
||||
"-Winvalid-pch"] )
|
||||
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
|
||||
|
@ -31,3 +31,13 @@
|
|||
if not has_option("disable-warnings-as-errors"):
|
||||
env.Append( CCFLAGS=["-Werror"] )
|
||||
|
||||
@@ -3926,7 +3926,8 @@ def doConfigure(myenv):
|
||||
myenv = conf.Finish()
|
||||
|
||||
if env['TARGET_ARCH'] == "aarch64":
|
||||
- AddToCCFLAGSIfSupported(myenv, "-moutline-atomics")
|
||||
+ # https://lists.freebsd.org/archives/freebsd-ports/2021-July/000431.html
|
||||
+ AddToCCFLAGSIfSupported(myenv, "-mno-outline-atomics")
|
||||
|
||||
conf = Configure(myenv)
|
||||
usdt_enabled = get_option('enable-usdt-probes')
|
||||
|
|
Loading…
Add table
Reference in a new issue