Opened 7 years ago

Closed 7 years ago

Last modified 7 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 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 Schmidt) 7 years ago.
patch-BuildSupport.py (1.8 KB) - added by ryandesign (Ryan Schmidt) 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by ryandesign (Ryan Schmidt)

Attachment: field3d-1.3.2.diff added

Changed 7 years ago by ryandesign (Ryan Schmidt)

Attachment: patch-BuildSupport.py added

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

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

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

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

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

Resolution: fixed
Status: newclosed

comment:4 in reply to:  description Changed 7 years ago by ryandesign (Ryan 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.