[MacPorts] #14365: Boost build does not properly symlink boost libs
MacPorts
trac at macosforge.org
Thu Feb 21 07:38:42 PST 2008
#14365: Boost build does not properly symlink boost libs
-----------------------------------------+----------------------------------
Reporter: dane.springmeyer at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: High | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: boost symlink libs .dylib
-----------------------------------------+----------------------------------
Comment (by gui_dos at macports.org):
That's not the problem: "darwin" and "darwin 9" can both be present in the
same portfile.
[[BR]]
The problem is that in the line
{{{
system "cd ${destroot}${prefix}/lib;ln -s ${lib} ${liblink}"
}}}
${lib} is the full path of the library, therefore the created link isn't
relative.
[[BR]]
${libname} should be used instead and its definition should use the "file
tail" command,
not the "file rootname", otherwise even liblink includes the full path
since it is defined as
"${libname}${libext}"
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14365#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list