Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20252 closed submission (fixed)

MongoDB Portfile submission

Reported by: mike@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: mongodb

Description

I've attached a Portfile for MongoDB 0.9.6

Attachments (1)

Portfile (1.4 KB) - added by mike@… 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by mike@…

Attachment: Portfile added

comment:1 Changed 15 years ago by blb@…

Port: mongodb added
Resolution: fixed
Status: newclosed

There's already a mongodb port (added in r53316) but it was 0.9.5, so I've updated it to 0.9.6 in r53622.

comment:2 Changed 15 years ago by mike@…

Oh thanks - I didn't even notice that was there already! Looking at the existing Portfile I see that you're patching the SConstruct file. Out of curiosity what did you need to patch it for? I am a developer on MongoDB and we'd love to fix the SConstruct if it is not working for you in some way.

I'm also happy to help maintain this package if it would make things easier for you - let me know.

Thanks, Mike

comment:3 Changed 15 years ago by blb@…

Some of it is just to make sure -L. is first on LIBPATH so it doesn't try to link against an already-installed library when upgrading (ran into that when building 0.9.6 with 0.9.5 installed); also note I had a mistake in that which I fixed in r53637.

The rest is mostly to deal with building within MacPorts, since we have settings for SDK to use and for which architecture to build, I just removed most of that; also to remove /sw and /opt/local from various paths and instead use the MacPorts one (which doesn't have to be /opt/local); finally, to make sure it uses the right compiler as set by MacPorts (via the CC/CPP/CXX settings).

So I'd say the only thing that you may care about is the -L. part...

Note: See TracTickets for help on using tickets.