Ticket #43338: Portfile.diff
File Portfile.diff, 2.7 KB (added by tspindler@…, 11 years ago) |
---|
-
Portfile
old new 8 8 9 9 name mongodb 10 10 epoch 1 11 version 2. 4.1011 version 2.6.0 12 12 license AGPL-3 13 13 categories databases 14 14 maintainers ryandesign … … 22 22 master_sites http://downloads.mongodb.org/src/ 23 23 distname ${name}-src-r${version} 24 24 25 checksums rmd160 7e689bc04d08254472247e10f21459c7bc822875\26 sha256 8ac8d0537e5316e842e3713870b76ea3cc18ec1234307e850046449f48a8740225 checksums rmd160 b5cdda65c44b14443248b04b1ffe9c804b4248f6 \ 26 sha256 6344d1f0cb44f171792c45ddc4f4b74a10ae86a28dc604b26ceab6dae4bdd318 27 27 28 28 depends_build port:scons 29 29 … … 34 34 35 35 license_noconflict scons 36 36 37 patchfiles patch-SConstruct.diff \ 38 patch-distsrc-client-SConstruct.diff \ 39 patch-libcpp.diff \ 40 patch-src-mongo-db-fts-stemmer.cpp.diff \ 41 patch-src-mongo-dbtests-documentsourcetests.cpp.diff \ 42 patch-src-mongo-util-compress.cpp.diff \ 43 patch-src-third_party-v8-SConscript.diff 44 45 post-patch { 46 reinplace "s|@@PREFIX@@|${prefix}|g" \ 47 ${worksrcpath}/distsrc/client/SConstruct 48 } 37 # patchfiles 38 # patch-SConstruct.diff \ 39 #patch-distsrc-client-SConstruct.diff \ 40 #patch-libcpp.diff \ 41 #patch-src-mongo-db-fts-stemmer.cpp.diff \ 42 #patch-src-mongo-dbtests-documentsourcetests.cpp.diff \ 43 #patch-src-mongo-util-compress.cpp.diff \ 44 #patch-src-third_party-v8-SConscript.diff 45 46 # post-patch { 47 #reinplace "s|@@PREFIX@@|${prefix}|g" \ 48 #${worksrcpath}/distsrc/client/SConstruct 49 #} 49 50 50 51 use_configure no 51 52 … … 57 58 build.env TERM=xterm \ 58 59 CPPFLAGS="${configure.cppflags}" \ 59 60 LDFLAGS="${configure.ldflags}" 61 60 62 61 63 build.cmd ${prefix}/bin/scons 62 64 build.target all mongobridge mongosniff 63 build.args --cc=${configure.cc} \ 65 build.args --prefix=/opt/local \ 66 --cc=${configure.cc} \ 64 67 --cxx=${configure.cxx} \ 65 68 --full \ 66 --use-system-boost \ 67 --use-system-pcre \ 68 --use-system-snappy \ 69 --usev8 \ 70 --extralib=pcre,pcrecpp,snappy 69 --usev8 70 71 71 72 72 supported_archs i386 x86_64 73 73 lappend merger_build_args(i386) --32