Opened 12 years ago
Closed 12 years ago
#38900 closed enhancement (duplicate)
mongodb port uses internal boost library, instead of system's (macports version) of boost
Reported by: | cawka (Alex Afanasyev) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | haspatch | Cc: | |
Port: | mongodb |
Description
The current way mongodb port is configured, it uses boost libraries that are bundled with mongodb source code. This work ok for the compiled programs, but is making impossible to use libmongodb.a in third-party applications: there is boost-related a link error.
The attached patch adds boost as a dependency and asks mongodb to be compiled against system boost libraries.
Attachments (1)
Change History (3)
Changed 12 years ago by cawka (Alex Afanasyev)
Attachment: | mongodb-Portfile.patch added |
---|
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Type: | defect → enhancement |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Duplicate of #38334.
Note: See
TracTickets for help on using
tickets.
Right now, I think this would work, and I'm open to making this change. But note that previously we switched from using MacPorts boost to using the internal boost because the developers of boost do not believe in backward compatibility, and an update of MacPorts boost caused mongodb to no longer build (#35118), and I'm virtually certain that a future version of boost will break mongodb again. But if and when that happens, we can go back to using the internal boost again.