[77327] trunk/dports/databases/mongodb

ryandesign at macports.org ryandesign at macports.org
Sun Mar 27 03:56:46 PDT 2011


Revision: 77327
          http://trac.macports.org/changeset/77327
Author:   ryandesign at macports.org
Date:     2011-03-27 03:56:44 -0700 (Sun, 27 Mar 2011)
Log Message:
-----------
mongodb: update to 1.8.0 and fix build with latest boost; see #28883

Modified Paths:
--------------
    trunk/dports/databases/mongodb/Portfile
    trunk/dports/databases/mongodb/files/patch-SConstruct.diff

Added Paths:
-----------
    trunk/dports/databases/mongodb/files/patch-pch.h.diff

Modified: trunk/dports/databases/mongodb/Portfile
===================================================================
--- trunk/dports/databases/mongodb/Portfile	2011-03-27 10:29:07 UTC (rev 77326)
+++ trunk/dports/databases/mongodb/Portfile	2011-03-27 10:56:44 UTC (rev 77327)
@@ -5,7 +5,7 @@
 
 name                mongodb
 epoch               1
-version             1.6.5
+version             1.8.0
 license             AGPL-3.0
 categories          databases
 maintainers         nomaintainer
@@ -19,9 +19,8 @@
 master_sites        http://downloads.mongodb.org/src/
 distname            ${name}-src-r${version}
 
-checksums           md5     99f1c4c256be1611da6068aea30f9a30 \
-                    sha1    4aed2da91377c2a5c8722c0c6873117014faf31a \
-                    rmd160  de98b9558544eafb809131347b6a339c46f09732
+checksums           sha1    1f8d596da667af10721c6602071e824bc4b8a0f3 \
+                    rmd160  e80638eacc816869a1284ee135b1c9e9885c1684
 
 depends_build       port:scons
 
@@ -37,7 +36,7 @@
                     lib/libreadline.dylib \
                     lib/libjs.dylib
 
-patchfiles          patch-SConstruct.diff
+patchfiles          patch-SConstruct.diff patch-pch.h.diff
 
 post-patch {
     reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SConstruct
@@ -45,6 +44,7 @@
 
 use_configure       no
 
+build.env           TERM=xterm
 build.cmd           scons
 build.args          --usesm --cxx=${configure.cxx} --full
 build.target        all mongobridge mongosniff

Modified: trunk/dports/databases/mongodb/files/patch-SConstruct.diff
===================================================================
--- trunk/dports/databases/mongodb/files/patch-SConstruct.diff	2011-03-27 10:29:07 UTC (rev 77326)
+++ trunk/dports/databases/mongodb/files/patch-SConstruct.diff	2011-03-27 10:56:44 UTC (rev 77327)
@@ -1,10 +1,11 @@
---- SConstruct.orig	2010-09-24 17:32:12.000000000 +0400
-+++ SConstruct	2010-09-24 17:36:24.000000000 +0400
-@@ -532,20 +532,14 @@
+--- SConstruct.orig	2011-03-16 10:33:30.000000000 -0500
++++ SConstruct	2011-03-27 03:30:06.000000000 -0500
+@@ -447,21 +447,14 @@
      darwin = True
      platform = "osx" # prettier than darwin
  
 -    if env["CXX"] is None:
+-        print( "YO" )
 -        if os.path.exists( "/usr/bin/g++-4.2" ):
 -            env["CXX"] = "g++-4.2"
 -
@@ -27,7 +28,7 @@
  
  elif "linux2" == os.sys.platform:
      linux = True
-@@ -992,11 +986,7 @@
+@@ -931,11 +924,7 @@
          haveReadLine = False
          if darwin:
              myenv.Append( CPPDEFINES=[ "USE_READLINE" ] )
@@ -40,7 +41,7 @@
          elif openbsd:
              myenv.Append( CPPDEFINES=[ "USE_READLINE" ] )
              myCheckLib( "termcap" , True )
-@@ -1242,8 +1232,6 @@
+@@ -1176,8 +1165,6 @@
          shellEnv["LINKFLAGS"].remove("-m64")
          shellEnv["CPPPATH"].remove( "/usr/64/include" )
          shellEnv["LIBPATH"].remove( "/usr/64/lib" )

Added: trunk/dports/databases/mongodb/files/patch-pch.h.diff
===================================================================
--- trunk/dports/databases/mongodb/files/patch-pch.h.diff	                        (rev 0)
+++ trunk/dports/databases/mongodb/files/patch-pch.h.diff	2011-03-27 10:56:44 UTC (rev 77327)
@@ -0,0 +1,10 @@
+--- pch.h.orig	2011-03-16 10:33:30.000000000 -0500
++++ pch.h	2011-03-27 04:21:47.000000000 -0500
+@@ -72,6 +72,7 @@
+ #include <boost/any.hpp>
+ #include "boost/thread/once.hpp"
+ #include <boost/archive/iterators/transform_width.hpp>
++#define BOOST_FILESYSTEM_VERSION 2
+ #include <boost/filesystem/convenience.hpp>
+ #include <boost/filesystem/exception.hpp>
+ #include <boost/filesystem/operations.hpp>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110327/7baee996/attachment-0001.html>


More information about the macports-changes mailing list