forked from Lainports/freebsd-ports
changes: https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.27---jan-3--2023 https://www.mongodb.com/docs/manual/release-notes/4.4-changelog/#4.4.27-changelog Remove enterprise modules from the build. Just build the community edition. This is something new in this version. This is not mentioned in the release notes but the build failed with unhandled dependencies. [00:02:07] configuring module: enterprise [00:02:07] Checking for C++ header file net-snmp/net-snmp-config.h... no [00:02:08] Could not find <net-snmp/net-snmp-config.h>, required for enterprise build. [00:02:08] See /wrkdirs/usr/ports/databases/mongodb44/work/mongodb-src-r4.4.27/build/scons/config.log for details [00:02:09] ===> Compilation failed unexpectedly. Enterprise modules consist of: > ls /usr/ports/databases/mongodb44/work/mongodb-src-r4.4.27/src/mongo/db/modules/enterprise/src/ audit fle inmemory ldap queryable scripts snmp encryptdb hot_backups kerberos mongohouse sasl search util Bump version. Poudriere stage-qa: ok (aarch64)
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
--- SConstruct.orig 2023-12-17 21:00:26 UTC
|
|
+++ SConstruct
|
|
@@ -1262,9 +1262,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())))
|
|
|
|
install_actions.setup(env, get_option('install-action'))
|
|
|
|
@@ -2189,7 +2189,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'],
|
|
)
|
|
|
|
@@ -2204,7 +2204,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"] )
|
|
|