Revision: 70334 http://trac.macports.org/changeset/70334 Author: stromnov@macports.org Date: 2010-08-06 08:46:06 -0700 (Fri, 06 Aug 2010) Log Message: ----------- mongodb: update to version 1.6.0 Modified Paths: -------------- trunk/dports/databases/mongodb/Portfile trunk/dports/databases/mongodb/files/patch-SConstruct.diff Modified: trunk/dports/databases/mongodb/Portfile =================================================================== --- trunk/dports/databases/mongodb/Portfile 2010-08-06 15:45:02 UTC (rev 70333) +++ trunk/dports/databases/mongodb/Portfile 2010-08-06 15:46:06 UTC (rev 70334) @@ -5,7 +5,7 @@ name mongodb epoch 1 -version 1.4.4 +version 1.6.0 license AGPL-3.0 categories databases maintainers nomaintainer @@ -19,11 +19,12 @@ master_sites http://downloads.mongodb.org/src/ distname ${name}-src-r${version} -checksums md5 2db66dabdbc4e09c28f64aa13b99dfe2 \ - sha1 deb45cafd90f0700add328e0af74adc5f605197b \ - rmd160 34b095adde58d7a2f3bb56b59547dd3d6ac4ed8f +checksums md5 d09e062b518ce71106652eac0e88a962 \ + sha1 9f3b0c90424022a8a1667d25162c67c58800edf9 \ + rmd160 26edbeff2940fac6d2b083ce37b28aa468ed0b00 depends_build port:scons + depends_lib port:boost \ port:pcre \ port:spidermonkey \ @@ -44,8 +45,8 @@ use_configure no -build.args --usesm --cxx ${configure.cxx} build.cmd scons +build.args --usesm --cxx=${configure.cxx} build.target all mongobridge mongosniff destroot.cmd scons Modified: trunk/dports/databases/mongodb/files/patch-SConstruct.diff =================================================================== --- trunk/dports/databases/mongodb/files/patch-SConstruct.diff 2010-08-06 15:45:02 UTC (rev 70333) +++ trunk/dports/databases/mongodb/files/patch-SConstruct.diff 2010-08-06 15:46:06 UTC (rev 70334) @@ -1,8 +1,8 @@ ---- SConstruct.orig 2010-03-25 08:04:10.000000000 -0700 -+++ SConstruct 2010-03-27 00:12:23.000000000 -0700 -@@ -481,20 +481,13 @@ - if not nojni: - env.Append( FRAMEWORKS=["JavaVM"] ) +--- SConstruct.orig 2010-08-06 14:41:53.000000000 +0400 ++++ SConstruct 2010-08-06 14:45:53.000000000 +0400 +@@ -532,20 +532,13 @@ + darwin = True + platform = "osx" # prettier than darwin - if env["CXX"] is None: - if os.path.exists( "/usr/bin/g++-4.2" ): @@ -13,7 +13,7 @@ - if force64: - env.Append( CPPPATH=["/usr/64/include"] ) - env.Append( LIBPATH=["/usr/64/lib"] ) -- if installDir == DEFAULT_INSTALl_DIR and not distBuild: +- if installDir == DEFAULT_INSTALL_DIR and not distBuild: - installDir = "/usr/64/" - else: - env.Append( CPPPATH=filterExists(["/sw/include" , "/opt/local/include"]) ) @@ -26,7 +26,7 @@ elif "linux2" == os.sys.platform: linux = True -@@ -923,11 +916,7 @@ +@@ -992,11 +985,7 @@ haveReadLine = False if darwin: myenv.Append( CPPDEFINES=[ "USE_READLINE" ] ) @@ -36,10 +36,10 @@ - else: - myenv.Append( LINKFLAGS=" /usr/lib/libreadline.dylib " ) + myenv.Append( LINKFLAGS=" @@PREFIX@@/lib/libreadline.dylib " ) - elif myCheckLib( "readline" , release and nix , staticOnly=release ): + elif openbsd: myenv.Append( CPPDEFINES=[ "USE_READLINE" ] ) - myCheckLib( "ncurses" , staticOnly=release ) -@@ -1152,8 +1141,6 @@ + myCheckLib( "termcap" , True ) +@@ -1242,8 +1231,6 @@ shellEnv["LINKFLAGS"].remove("-m64") shellEnv["CPPPATH"].remove( "/usr/64/include" ) shellEnv["LIBPATH"].remove( "/usr/64/lib" ) @@ -47,4 +47,4 @@ - shellEnv.Append( LIBPATH=filterExists(["/sw/lib/", "/opt/local/lib" , "/usr/lib"]) ) l = shellEnv["LIBS"] - if linux64: +