New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12110 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

BUG - Boost 1.34.0

Reported by: cliff.spradlin@… Owned by: ryandesign@…
Priority: High Milestone:
Component: ports Version: 1.4.40
Keywords: Cc: cliff.spradlin@…, sanchom@…, ryandesign@…
Port:

Description

The new boost update port doesn't create a "boost" directory symlink in /opt/local/include from the version specific directory /opt/local/include/boost-1_34.

The reason for this is so that code can do: "#include <boost/whatever.h>" and have it always work. If code needs a specific version, the proper practice is to do: "#include <boost-1_34/whatever.h>"

Attachments

Portfile.diff Download (464 bytes) - added by sanchom@… 5 years ago.
reinstated symbolic link /opt/local/include/boost -> /opt/local/include/boost-1_34/boost
Portfile_corrected.diff Download (465 bytes) - added by mdickens@… 5 years ago.
Corrected Portfile

Change History

Changed 5 years ago by cliff.spradlin@…

Looking at the changeset..

 http://trac.macosforge.org/projects/macports/changeset/26030

Looks like the relevent portion that was removed was in post-destroot:

set incdirver [join [lrange [split ${version} {.}] 0 2] {_}] system "ln -fs boost-${incdirver}/boost ${destroot}${prefix}/include/boost"

Changed 5 years ago by ryandesign@…

  • cc cliff.spradlin@…, sanchom@… added
  • milestone set to Port Bugs

Cc'ing maintainer and reporter.

Changed 5 years ago by sanchom@…

Oh, yes, that is needed. I'll submit a diff with the fix in about 8 hours. (Unless somebody else gets to it first)

Changed 5 years ago by sanchom@…

reinstated symbolic link /opt/local/include/boost -> /opt/local/include/boost-1_34/boost

Changed 5 years ago by sanchom@…

Diff submitted.

Changed 5 years ago by mdickens@…

Corrected Portfile

Changed 5 years ago by ryandesign@…

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

Applied Portfile_corrected.diff in r26772. Thanks.

Changed 5 years ago by ryandesign@…

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

Incremented the portfile revision in r26773 so everyone gets the change.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.