[MacPorts] #43338: Update mongodb to 2.6.0
#43338: Update mongodb to 2.6.0 -------------------------+------------------------------------- Reporter: tspindler@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ryandesign@macports.org -------------------------+------------------------------------- mongodb 2.6 was released on April 8: http://docs.mongodb.org/master /release-notes/2.6/ -- Ticket URL: <https://trac.macports.org/ticket/43338> MacPorts <http://www.macports.org/> Ports system for OS X
#43338: Update mongodb to 2.6.0 --------------------------+-------------------------- Reporter: tspindler@… | Owner: ryandesign@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: mongodb | --------------------------+-------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => ryandesign@… * version: 2.2.1 => * port: ryandesign@macports.org => mongodb -- Ticket URL: <https://trac.macports.org/ticket/43338#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43338: Update mongodb to 2.6.0 --------------------------+-------------------------- Reporter: tspindler@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: mongodb | --------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: I started work on this a couple days ago but as with every version they've changed their configuration script and I need to figure out how to update our patch properly. -- Ticket URL: <https://trac.macports.org/ticket/43338#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43338: Update mongodb to 2.6.0 --------------------------+-------------------------- Reporter: tspindler@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: mongodb | --------------------------+-------------------------- Comment (by tspindler@…): I've attached a diff that builds 2.6.0 without any further patches. As I've never built mongodb before and also have no experience with Portfiles, handle with care. Changes were: o removed all patch file directives o changed version to 2.6.0 o changed checksums o added --prefix=/opt/local to build.args o removed use of system wide libs boost, pcre and snappy, as they were not found by scons -- Ticket URL: <https://trac.macports.org/ticket/43338#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43338: Update mongodb to 2.6.0 --------------------------+-------------------------- Reporter: tspindler@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: mongodb | --------------------------+-------------------------- Comment (by ryandesign@…): Thank you, but I want to continue using MacPorts libraries as much as possible, not the bundled ones. In particular, I want to continue using MacPorts boost, so as not to reintroduce the problems we faced when using the bundled boost last time (last year); see #38334 wherein those problems are described. I agree that most of the patchfiles are no longer necessary with 2.6.0, however one of them is what made scons able to find the MacPorts libraries; it's that patch that I need to scrutinize to see how to adapt it to the 2.6.0 SConscript. -- Ticket URL: <https://trac.macports.org/ticket/43338#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43338: Update mongodb to 2.6.0 --------------------------+-------------------------- Reporter: tspindler@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: mongodb | --------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: I've read through all the differences in the SConscript. Turns out the SConscript gained flags `--cpppath` and `--libpath` at some point, which we can use instead of patching the SConscript and setting CPPFLAGS and LDFLAGS in the build environment. Additionally, the SConscript sets `--macosx-version-min=10.6` by default, which makes it build with libstdc++, which then fails on Mavericks when trying to link with MacPorts boost, which was built with libc++ (wiki:FAQ#libcpp). The solution to that was to add the flag `--osx- version-min=${macosx_deployment_target}`. Updated the port in r119143. -- Ticket URL: <https://trac.macports.org/ticket/43338#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts