New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14064 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

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@…
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

Portfile-boost.diff Download (0.5 KB) - added by ken@… 4 years ago.
Portfile-boost-jam.diff Download (414 bytes) - added by ken@… 4 years ago.
patch-build.sh Download (0.8 KB) - added by boydwaters@… 4 years ago.
boost-jam-Portfile.diff Download (0.6 KB) - added by boydwaters@… 4 years ago.
universal_build_boost-jam.diff Download (0.8 KB) - added by illogical1@… 3 years ago.
universal_build_boost.diff Download (0.7 KB) - added by illogical1@… 3 years ago.

Change History

Changed 4 years ago by ken@…

Changed 4 years ago by ken@…

Changed 4 years ago by ryandesign@…

  • cc sanchom@… added

Cc'ing maintainer.

Changed 4 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 4 years ago by boydwaters@…

Changed 4 years ago by boydwaters@…

Changed 3 years ago by ryandesign@…

  • cc ryandesign@… added
  • owner changed from macports-tickets@… to sanchom@…

Changed 3 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 3 years ago by illogical1@…

Changed 3 years ago by illogical1@…

Changed 3 years ago by devans@…

  • keywords boost removed
  • port set to boost

Changed 3 years ago by anonymous

  • milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Changed 3 years ago by blb@…

  • owner changed from sanchom@… to macports-tickets@…

(sanchom@ is no longer maintainer)

Changed 3 years ago by jmr@…

  • cc sanchom@… removed
  • owner changed from macports-tickets@… to nox@…

Changed 3 years ago by nox@…

  • status changed from new to closed
  • resolution set to fixed

Update to 1.39.0_2.

Note: See TracTickets for help on using tickets.