#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)
Change History (9)
comment:1 Changed 17 years ago by cliff.spradlin@…
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: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: | new → closed |
Incremented the portfile revision in r26773 so everyone gets the change.
Note: See
TracTickets for help on using
tickets.
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"