aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongodb/mongodb-2.2.4-use-system-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mongodb/mongodb-2.2.4-use-system-version.patch')
-rw-r--r--testing/mongodb/mongodb-2.2.4-use-system-version.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/testing/mongodb/mongodb-2.2.4-use-system-version.patch b/testing/mongodb/mongodb-2.2.4-use-system-version.patch
deleted file mode 100644
index 3f9ec2d3df..0000000000
--- a/testing/mongodb/mongodb-2.2.4-use-system-version.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -urp mongodb-src-r2.2.4.orig/SConstruct mongodb-src-r2.2.4/SConstruct
---- mongodb-src-r2.2.4.orig/SConstruct 2013-05-02 14:59:37.226000000 -0500
-+++ mongodb-src-r2.2.4/SConstruct 2013-05-02 15:04:25.164000000 -0500
-@@ -249,7 +249,7 @@ def printLocalInfo():
-
- printLocalInfo()
-
--boostLibs = [ "thread" , "filesystem" , "program_options", "system" ]
-+boostLibs = [ "thread" , "filesystem" , "iostreams" , "program_options", "system" ]
-
- onlyServer = len( COMMAND_LINE_TARGETS ) == 0 or ( len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) in [ "mongod" , "mongos" , "test" ] )
- nix = False
-@@ -791,6 +791,28 @@ def doConfigure(myenv):
- print( "c++ compiler not installed!" )
- Exit(1)
-
-+ if use_system_version_of_library("snappy"):
-+ if not conf.CheckCXXHeader("snappy.h"):
-+ print( "can't find snappy header" )
-+ Exit(1)
-+ if not conf.CheckLib("libsnappy"):
-+ print( "can't find snappy library" )
-+ Exit(1)
-+
-+ if use_system_version_of_library("pcre"):
-+ if not conf.CheckCXXHeader("pcre.h"):
-+ print( "can't find pcre header" )
-+ Exit(1)
-+ if not conf.CheckLib("libpcre"):
-+ print( "can't find pcre library" )
-+ Exit(1)
-+ if not conf.CheckCXXHeader("pcrecpp.h"):
-+ print( "can't find pcrecpp header" )
-+ Exit(1)
-+ if not conf.CheckLib("libpcrecpp"):
-+ print( "can't find pcrecpp library" )
-+ Exit(1)
-+
- if use_system_version_of_library("boost"):
- if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
- print( "can't find boost headers" )
-Only in mongodb-src-r2.2.4: SConstruct.orig