[80419] trunk/dports/databases/mongodb

ryandesign at macports.org ryandesign at macports.org
Tue Jul 12 08:49:24 PDT 2011


Revision: 80419
          http://trac.macports.org/changeset/80419
Author:   ryandesign at macports.org
Date:     2011-07-12 08:49:22 -0700 (Tue, 12 Jul 2011)
Log Message:
-----------
mongodb: update to 1.8.2, respect build_arch

Modified Paths:
--------------
    trunk/dports/databases/mongodb/Portfile

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

Modified: trunk/dports/databases/mongodb/Portfile
===================================================================
--- trunk/dports/databases/mongodb/Portfile	2011-07-12 15:26:25 UTC (rev 80418)
+++ trunk/dports/databases/mongodb/Portfile	2011-07-12 15:49:22 UTC (rev 80419)
@@ -5,7 +5,7 @@
 
 name                mongodb
 epoch               1
-version             1.8.0
+version             1.8.2
 license             AGPL-3.0
 categories          databases
 maintainers         nomaintainer
@@ -19,8 +19,8 @@
 master_sites        http://downloads.mongodb.org/src/
 distname            ${name}-src-r${version}
 
-checksums           sha1    1f8d596da667af10721c6602071e824bc4b8a0f3 \
-                    rmd160  e80638eacc816869a1284ee135b1c9e9885c1684
+checksums           sha1    d2145e5b4a6df2e94aec76bef3a9399c11e8571a \
+                    rmd160  3c1e33ed9ff3dd3c653112a46cf178d07b93e32c
 
 depends_build       port:scons
 
@@ -36,7 +36,7 @@
                     lib/libreadline.dylib \
                     lib/libjs.dylib
 
-patchfiles          patch-SConstruct.diff patch-pch.h.diff
+patchfiles          patch-SConstruct.diff
 
 post-patch {
     reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SConstruct
@@ -44,13 +44,22 @@
 
 use_configure       no
 
-build.env           TERM=xterm
+variant universal {}
+if {[variant_isset universal]} {
+    set archflags ${configure.universal_cflags}
+} else {
+    set archflags ${configure.cc_archflags}
+}
+
+build.env           TERM=xterm \
+                    CFLAGS="${archflags}" \
+                    CXXFLAGS="${archflags}" \
+                    LINKFLAGS="${archflags}"
 build.cmd           scons
 build.args          --usesm --cxx=${configure.cxx} --full
 build.target        all mongobridge mongosniff
 
-destroot.env        TERM=xterm
-destroot.cmd        scons
+eval destroot.env   [option build.env]
 destroot.args       ${build.args}
 destroot.destdir    --prefix=${destroot}${prefix}
 
@@ -58,13 +67,5 @@
     xinstall -W ${worksrcpath} mongobridge ${destroot}${prefix}/bin
 }
 
-variant universal {
-    build.env-append \
-        CFLAGS="${configure.universal_cflags}" \
-        CXXFLAGS="${configure.universal_cxxflags}" \
-        LINKFLAGS="${configure.universal_ldflags}"
-    eval destroot.env-append [option build.env]
-}
-
 livecheck.url       ${homepage}downloads
 livecheck.regex     {mongodb-src-r(\d+\.\d*[02468]\.\d+)\.}

Deleted: trunk/dports/databases/mongodb/files/patch-pch.h.diff
===================================================================
--- trunk/dports/databases/mongodb/files/patch-pch.h.diff	2011-07-12 15:26:25 UTC (rev 80418)
+++ trunk/dports/databases/mongodb/files/patch-pch.h.diff	2011-07-12 15:49:22 UTC (rev 80419)
@@ -1,10 +0,0 @@
---- 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/20110712/704437ef/attachment.html>


More information about the macports-changes mailing list