aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb/files/patch-SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mongodb/files/patch-SConstruct')
-rw-r--r--databases/mongodb/files/patch-SConstruct27
1 files changed, 3 insertions, 24 deletions
diff --git a/databases/mongodb/files/patch-SConstruct b/databases/mongodb/files/patch-SConstruct
index 7aed7e777a6b..a12c2bb5460e 100644
--- a/databases/mongodb/files/patch-SConstruct
+++ b/databases/mongodb/files/patch-SConstruct
@@ -1,6 +1,6 @@
---- SConstruct.orig 2013-03-22 20:55:25.000000000 +0100
-+++ SConstruct 2013-03-26 20:22:38.000000000 +0100
-@@ -702,7 +702,7 @@
+--- SConstruct.orig 2014-05-05 02:29:43.000000000 +0000
++++ SConstruct 2014-05-12 09:50:56.999470711 +0000
+@@ -843,7 +843,7 @@
env.Append( LIBS=[] )
#make scons colorgcc friendly
@@ -9,24 +9,3 @@
try:
env['ENV'][key] = os.environ[key]
except KeyError:
-@@ -805,6 +805,20 @@
- print( "c++ compiler not installed!" )
- Exit(1)
-
-+ if use_system_version_of_library("pcre"):
-+ if not conf.CheckLib("pcrecpp"):
-+ Exit(1)
-+ if not conf.CheckLib("pcre"):
-+ Exit(1)
-+
-+ if use_system_version_of_library("snappy"):
-+ if not conf.CheckLib("snappy"):
-+ Exit(1)
-+
-+ if usesm and use_system_version_of_library("sm"):
-+ if not conf.CheckLib("js"):
-+ Exit(1)
-+
- if use_system_version_of_library("boost"):
- if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
- print( "can't find boost headers" )