Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#36881 closed update (fixed)

field3d: update to 1.3.2, use github portgroup, fix build with boost 1.51

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: field3d

Description

This patch updates field3d to version 1.3.2 and makes use of the github portgroup. Besides simplifying the portfile, it makes the livecheck work. I've also patched it to link with libboost_system-mt to make it build with boost 1.51. (The field3d 1.2.0 currently in MacPorts fails the same way that 1.3.2 does without the patch.) This upstream issue seems related but the fix there does not fix it for me; for one thing, our boost in MacPorts by default does not provide the single-threaded boost_thread and boost_system libraries but only the multi-threaded versions boost_thread-mt and boost_system-mt. The patch also fixes the install_name of the library. I'll file an upstream issue about that. I also changed the destroot block a bit. The hardcoded m32 didn't work for me; on my system the directory name was m64 and I don't know on what basis that name is chosen so I used a glob.

Attachments (2)

field3d-1.3.2.diff (2.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
patch-BuildSupport.py (1.8 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: field3d-1.3.2.diff added

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: patch-BuildSupport.py added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Oh yes, and I added the license and modeline and disabled the silent build rules.

comment:2 Changed 11 years ago by blair (Blair Zajac)

Thanks, I'll take a look within the next two days.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

comment:4 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

The patch also fixes the install_name of the library. I'll file an upstream issue about that.

https://github.com/imageworks/Field3D/issues/62

Note: See TracTickets for help on using tickets.