Browse Source

use external snappy library and fix building

master
parent
commit
74d46a4045
  1. 11
      mongodb/mongodb.patch
  2. 5
      mongodb/mongodb.spec

11
mongodb/mongodb.patch

@ -97,17 +97,6 @@ Index: third_party/pcre.py
if __name__ == "__main__":
Index: shell/mongo.cpp
--- shell/mongo.cpp.orig 2012-06-08 16:10:55.000000000 +0200
+++ shell/mongo.cpp 2012-06-08 18:31:21.000000000 +0200
@@ -620,7 +620,6 @@
"}*/\n"
"\n"
"if ( typeof _threadInject != \"undefined\" ){\n"
-"print( \"fork() available!\" );\n"
"\n"
"Thread = function(){\n"
"this.init.apply( this, arguments );\n"
Index: shell/utils.js
--- shell/utils.js.orig 2012-06-04 15:42:54.000000000 +0200
+++ shell/utils.js 2012-06-08 18:31:30.000000000 +0200

5
mongodb/mongodb.spec

@ -43,8 +43,8 @@ Patch0: mongodb.patch
# build information
BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, gcc::with_cxx = yes, scons
PreReq: OpenPKG, openpkg >= 20100101
BuildPreReq: boost, libexecinfo, v8, openssl, pcre, pcre::with_cxx = yes
PreReq: boost, libexecinfo, v8, openssl, pcre, pcre::with_cxx = yes
BuildPreReq: boost, libexecinfo, v8, openssl, pcre, pcre::with_cxx = yes, snappy
PreReq: boost, libexecinfo, v8, openssl, pcre, pcre::with_cxx = yes, snappy
%description
MongoDB bridges the gap between key-value stores (which are fast and
@ -89,6 +89,7 @@ PreReq: boost, libexecinfo, v8, openssl, pcre, pcre::with_cxx = yes
--release \
--static \
--use-system-pcre \
--use-system-snappy \
--usev8 \
--ssl \
.

Loading…
Cancel
Save