mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Changes: https://www.mongodb.com/docs/manual/release-notes/6.0/#6.0.17---aug-21--2024 Sync with improvements in mongodb80: commitb44fe228ca
: Removed SSL from OPTIONS. It was inherited from the first versions of databases/mongodb, long before I became maintainer. Currently disabling the SSL option does not disable ssl as ssl is auto-detected and disabling ssl needs explicit --ssl=off which is not implemented in the port. I never had a request for this in years so I decided to just remove the option and have ssl enabled always. commit5d8274d264
: Also found some manual pages in the src tree. commitf2c9ba7c53
: add pre-configure check if downloaded mozjs version matches get-sources.sh.
42 lines
2.1 KiB
Text
42 lines
2.1 KiB
Text
--- SConstruct.orig 2022-08-05 16:21:29 UTC
|
|
+++ SConstruct
|
|
@@ -1342,9 +1342,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())))
|
|
+ print("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
|
|
|
|
if get_option('install-action') != 'default' and get_option('ninja') != "disabled":
|
|
env.FatalError("Cannot use non-default install actions when generating Ninja.")
|
|
@@ -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(
|
|
- PROGCCFLAGS=['-fPIE'],
|
|
+ PROGCCFLAGS=['-fpic'],
|
|
PROGLINKFLAGS=['-pie'],
|
|
)
|
|
|
|
# -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.
|
|
|
|
+ arm_march_flag = "armv8-a"
|
|
+ if get_option('use-hardware-crc32') == "on":
|
|
+ arm_march_flag += "+crc"
|
|
+
|
|
default_targeting_flags_for_architecture = {
|
|
- "aarch64" : { "-march=" : "armv8.2-a", "-mtune=" : "generic" },
|
|
+ "aarch64" : { "-march=" : arm_march_flag, "-mtune=" : "generic" },
|
|
"i386" : { "-march=" : "nocona", "-mtune=" : "generic" },
|
|
"ppc64le" : { "-mcpu=" : "power8", "-mtune=" : "power8", "-mcmodel=" : "medium" },
|
|
"s390x" : { "-march=" : "z196", "-mtune=" : "zEC12" },
|