mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
High-performance, schema-free document-oriented database http://www.mongodb.org ref #1182
42 lines
1.7 KiB
Diff
42 lines
1.7 KiB
Diff
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
|