#24508 closed submission (fixed)
swarm - Portfile submission
Reported by: | cristiano.fontana@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | swarm |
Description
Swarm is a platform for agent-based models (ABMs).
It requires a JDK to work but I was not able to get openjdk6 to compile on my Snow Leopard. So I put the path to the Leopard's Java JDK. When the problem with openjdk6 will be fixed I guess that this can be fixed too.
Attachments (2)
Change History (7)
Changed 15 years ago by cristiano.fontana@…
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | Portfile-ryandesign added |
---|
revised portfile
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Well, the reason I can't build seems to be because of my modifications. Your version builds fine. I will play with this a bit and see how to make it work.
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Marked nomaintainer in r92459
Note: See
TracTickets for help on using
tickets.
Thanks for the port.
The post-patch phase was a little overcomplicated; I simplified it to just reinplace the two configure scripts. No need to reinplace the configure.in files since their only purpose is to regenerate the configure scripts.
The --with-ffidir configure arg was a little peculiar too, and wouldn't work if libffi hadn't already been installed. (The glob would have been evaluated when the swarm portfile was parsed, which would have been before the libffi dependency was installed, so the glob would evaluate to the empty string.) I fixed this by using a pre-configure block, and felt it cleaner to use pkg-config.
Finally, I can't build this at all on my Mac, which has Snow Leopard, using either build_arch x86_64 or i386. I get this kind of error:
On what Mac with what OS version are you able to build this port?
Attached is my revised portfile.