Opened 14 years ago

Closed 12 years ago

#14064 closed enhancement (fixed)

boost-1.34.1 universal patch

Reported by: ken@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: universal Cc: ryandesign (Ryan Schmidt)
Port: boost

Description

Currently the boost libraries don't build with the +universal variant. To fix this I had to patch both the boost-jam Portfile as well as the boost Portfile. Patch files for both are attached.

Please note that this is only tested under OSX 10.5. I believe 10.4 might need the additional flag added to the <compileflags> and <linkflags> in the patch:

-isysroot /Developer/SDKs/MacOSX10.4u.sdk

I do not have access to 10.4 to test this theory though.

Attachments (6)

Portfile-boost.diff (550 bytes) - added by ken@… 14 years ago.
Portfile-boost-jam.diff (414 bytes) - added by ken@… 14 years ago.
patch-build.sh (817 bytes) - added by boydwaters@… 14 years ago.
boost-jam-Portfile.diff (637 bytes) - added by boydwaters@… 14 years ago.
universal_build_boost-jam.diff (800 bytes) - added by illogical1@… 13 years ago.
universal_build_boost.diff (716 bytes) - added by illogical1@… 13 years ago.

Download all attachments as: .zip

Change History (15)

Changed 14 years ago by ken@…

Attachment: Portfile-boost.diff added

Changed 14 years ago by ken@…

Attachment: Portfile-boost-jam.diff added

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

Cc: sanchom@… added

Cc'ing maintainer.

comment:2 Changed 14 years ago by ken@…

I just realized that universal binaries under 10.5 contain 64 bit versions in addition to the 32 bit ones. So that would probably require these flags be added to the patch:

-arch ppc64 -arch x86_64

Changed 14 years ago by boydwaters@…

Attachment: patch-build.sh added

Changed 14 years ago by boydwaters@…

Attachment: boost-jam-Portfile.diff added

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

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to sanchom@…

comment:4 Changed 13 years ago by illogical1@…

I can confirm that these patches work fine on 10.4 for boost 1.35.0. I attached the complete Portfile diffs as a part of ticket https://trac.macports.org/ticket/16744 as well. patch-build.sh is still needed.

Changed 13 years ago by illogical1@…

Changed 13 years ago by illogical1@…

Attachment: universal_build_boost.diff added

comment:5 Changed 13 years ago by dbevans (David B. Evans)

Keywords: boost removed
Port: boost added

comment:6 Changed 13 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:7 Changed 12 years ago by blb@…

Owner: changed from sanchom@… to macports-tickets@…

(sanchom@ is no longer maintainer)

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Cc: sanchom@… removed
Owner: changed from macports-tickets@… to nox@…

comment:9 Changed 12 years ago by nox@…

Resolution: fixed
Status: newclosed

Update to 1.39.0_2.

Note: See TracTickets for help on using tickets.