aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch
diff options
context:
space:
mode:
authorVincent Prince <vincent.prince.fr@gmail.com>2019-09-20 16:02:43 +0200
committerKhem Raj <raj.khem@gmail.com>2019-09-22 08:13:17 -0700
commit1849429a791457250236778793c36a12f0df3194 (patch)
treeb345517d46c5b93fc34c2b6b92c9917013f03c9a /meta-oe/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch
parentfe611a4e34f0643d93fb7d6de5cb369b2f899ba0 (diff)
downloadmeta-openembedded-contrib-1849429a791457250236778793c36a12f0df3194.tar.gz
mongodb: bump to version 4.2.0+git18ce5c9
MongoDB v4.2.0 adds python3 support that is needed by scons upgrade [44f303b scons: inherit python3native]. - mongodb git commit 18ce5c9 was needed to fix https://jira.mongodb.org/browse/SERVER-42787 - Add PREFIX and prefix to scons environment to fix unknown variable check (SConstruct#L1073) - fix musl compilation (strerror_r) - Remove compatibility for clang/x86 due to missing "Hardware interference size" - Previous patches are refreshed Signed-off-by: Vincent Prince <vincent.prince.external@saftbatteries.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch')
-rw-r--r--meta-oe/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch b/meta-oe/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch
new file mode 100644
index 0000000000..3a27aacfe4
--- /dev/null
+++ b/meta-oe/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch
@@ -0,0 +1,19 @@
+Index: git/SConstruct
+===================================================================
+--- git.orig/SConstruct
++++ git/SConstruct
+@@ -884,6 +884,14 @@ env_vars.Add('WINDOWS_OPENSSL_BIN',
+ help='Sets the path to the openssl binaries for packaging',
+ default='c:/openssl/bin')
+
++env_vars.Add('PREFIX',
++ help='installation prefix')
++
++env_vars.Add('prefix',
++ help='installation prefix')
++
++
++
+ # -- Validate user provided options --
+
+ # A dummy environment that should *only* have the variables we have set. In practice it has