Ignore:
Timestamp:
Mar 20, 2013, 10:54:28 PM (7 years ago)
Author:
ryandesign@…
Message:

mongodb: update to 2.4.0 (#38445) and now use v8 JavaScript engine instead of SpiderMonkey

Location:
trunk/dports/databases/mongodb
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/mongodb/Portfile

    r102435 r104216  
    77name                mongodb
    88epoch               1
    9 version             2.2.3
     9version             2.4.0
    1010license             AGPL-3
    1111categories          databases
     
    2121distname            ${name}-src-r${version}
    2222
    23 checksums           rmd160  43c021c3ea743eef83f355674a76b139c422efb1 \
    24                     sha256  dd292c73f8182eb201ae4dd4bd7132c79c56247a7bc4fcde9d09a5bc6c74978d
     23checksums           rmd160  189d0225200443fb680b3662cdfb6b60446e5cfb \
     24                    sha256  81bcdc4c4dcc97b8384277de06c35f4d5be10079262b047954b72b3b04cfbc84
    2525
    2626depends_build       port:scons
    2727
    28 depends_lib         port:pcre \
    29                     port:spidermonkey \
    30                     port:libpcap \
    31                     port:snappy
     28depends_lib         port:libpcap \
     29                    port:pcre \
     30                    port:snappy \
     31                    port:v8
    3232
    3333license_noconflict  scons
    3434
    35 # As of mongodb 2.2.0, we use the bundled copy of boost instead of the boost port, because
    36 # the developers still have not fixed mongodb's incompatibility with boost 1.50 and up.
    37 # https://jira.mongodb.org/browse/SERVER-4314
     35# As of mongodb 2.2.0, we use the bundled copy of boost to guard against
     36# potential incompatible changes that might be made in the boost port.
    3837
    3938patchfiles          patch-SConstruct.diff \
    4039                    patch-distsrc-client-SConstruct.diff \
    4140                    patch-src-SConscript.client.diff \
    42                     patch-src-mongo-SConscript.diff \
    43                     patch-src-mongo-util-compress.cpp.diff \
    44                     patch-src-third_party-SConscript.diff
     41                    patch-src-mongo-util-compress.cpp.diff
    4542
    4643post-patch {
     
    5754build.env           TERM=xterm \
    5855                    ARCHFLAGS="[get_canonical_archflags]" \
    59                     CPPFLAGS="${configure.cppflags} -I${prefix}/include/js" \
     56                    CPPFLAGS="${configure.cppflags}" \
    6057                    LDFLAGS="${configure.ldflags}"
    6158
     
    6663                    --full \
    6764                    --use-system-pcre \
    68                     --use-system-sm \
    6965                    --use-system-snappy \
    70                     --extralib=pcre,pcrecpp,js,snappy
     66                    --use-system-v8 \
     67                    --extralib=pcre,pcrecpp,snappy
    7168
    7269eval destroot.env   [option build.env]
  • trunk/dports/databases/mongodb/files/patch-SConstruct.diff

    r98087 r104216  
    1 --- SConstruct.orig     2012-08-28 00:28:11.000000000 -0500
    2 +++ SConstruct  2012-09-24 11:16:43.000000000 -0500
    3 @@ -486,21 +486,9 @@
     1--- SConstruct.orig     2013-03-15 13:59:55.000000000 -0500
     2+++ SConstruct  2013-03-20 03:41:22.000000000 -0500
     3@@ -491,20 +491,9 @@
    44     darwin = True
    55     platform = "osx" # prettier than darwin
    66 
    77-    if env["CXX"] is None:
    8 -        print( "YO" )
    98-        if os.path.exists( "/usr/bin/g++-4.2" ):
    109-            env["CXX"] = "g++-4.2"
  • trunk/dports/databases/mongodb/files/patch-src-SConscript.client.diff

    r98079 r104216  
    11https://jira.mongodb.org/browse/SERVER-5575
    2 --- src/SConscript.client.orig  2012-08-28 00:28:11.000000000 -0500
    3 +++ src/SConscript.client       2012-09-24 08:02:47.000000000 -0500
    4 @@ -134,7 +134,7 @@
     2--- src/SConscript.client.orig  2013-03-15 13:59:55.000000000 -0500
     3+++ src/SConscript.client       2013-03-20 03:41:50.000000000 -0500
     4@@ -177,7 +177,7 @@
    55 # install
    66 prefix = GetOption("prefix")
     
    1010 
    1111 for x in clientHeaderDirectories:
    12      env.Install(prefix + "/include/mongo/" + x,
     12     inst = env.Install(prefix + "/include/mongo/" + x,
  • trunk/dports/databases/mongodb/files/patch-src-mongo-util-compress.cpp.diff

    r98079 r104216  
    1 --- src/mongo/util/compress.cpp.orig    2012-08-28 00:28:11.000000000 -0500
    2 +++ src/mongo/util/compress.cpp 2012-08-30 04:24:21.000000000 -0500
    3 @@ -2,7 +2,7 @@
     1--- src/mongo/util/compress.cpp.orig    2013-03-15 13:59:55.000000000 -0500
     2+++ src/mongo/util/compress.cpp 2013-03-20 03:48:23.000000000 -0500
     3@@ -18,7 +18,7 @@
    44 
    55 #include "mongo/util/compress.h"
Note: See TracChangeset for help on using the changeset viewer.