Opened 16 years ago

Closed 15 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 Carsten 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@… 16 years ago.
Portfile-boost-jam.diff (414 bytes) - added by ken@… 16 years ago.
patch-build.sh (817 bytes) - added by boydwaters@… 16 years ago.
boost-jam-Portfile.diff (637 bytes) - added by boydwaters@… 16 years ago.
universal_build_boost-jam.diff (800 bytes) - added by illogical1@… 15 years ago.
universal_build_boost.diff (716 bytes) - added by illogical1@… 15 years ago.

Download all attachments as: .zip

Change History (15)

Changed 16 years ago by ken@…

Attachment: Portfile-boost.diff added

Changed 16 years ago by ken@…

Attachment: Portfile-boost-jam.diff added

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

Cc: sanchom@… added

Cc'ing maintainer.

comment:2 Changed 16 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 16 years ago by boydwaters@…

Attachment: patch-build.sh added

Changed 16 years ago by boydwaters@…

Attachment: boost-jam-Portfile.diff added

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

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

comment:4 Changed 15 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 15 years ago by illogical1@…

Changed 15 years ago by illogical1@…

Attachment: universal_build_boost.diff added

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

Keywords: boost removed
Port: boost added

comment:6 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:7 Changed 15 years ago by blb@…

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

(sanchom@ is no longer maintainer)

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

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

comment:9 Changed 15 years ago by nox@…

Resolution: fixed
Status: newclosed

Update to 1.39.0_2.

Note: See TracTickets for help on using tickets.