Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12110 closed defect (fixed)

BUG - Boost 1.34.0

Reported by: cliff.spradlin@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: High Milestone:
Component: ports Version: 1.4.40
Keywords: Cc: cliff.spradlin@…,sanchom (Sancho McCann),ryandesign (Ryan Carsten Schmidt)
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 (2)

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

Download all attachments as: .zip

Change History (9)

comment:1 Changed 17 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"

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cliff.spradlin@… sanchom@… added
Milestone: Port Bugs

Cc'ing maintainer and reporter.

comment:3 Changed 17 years ago by sanchom (Sancho McCann)

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 17 years ago by sanchom (Sancho McCann)

Attachment: Portfile.diff added

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

comment:4 Changed 17 years ago by sanchom (Sancho McCann)

Diff submitted.

Changed 17 years ago by mdickens@…

Attachment: Portfile_corrected.diff added

Corrected Portfile

comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

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

Applied Portfile_corrected.diff in r26772. Thanks.

comment:6 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

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

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.