[MacPorts] #14365: Boost build does not properly symlink boost libs
MacPorts
trac at macosforge.org
Thu Feb 21 10:04:20 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):
I have attached a diff for the portfile which uses the "tail" of the paths
to create realtive links.
I have tested it only with the "date_time" library but it should work
globally; it should solve also #14388:
{{{
ls -l /opt/local/lib/libboost_date_time*
-rw-r--r-- 2 root admin 92248 Feb 21 18:46
/opt/local/lib/libboost_date_time-1_34_1.a
-rwxr-xr-x 2 root admin 53640 Feb 21 18:47
/opt/local/lib/libboost_date_time-1_34_1.dylib
-rw-r--r-- 2 root admin 428856 Feb 21 18:46
/opt/local/lib/libboost_date_time-d-1_34_1.a
-rwxr-xr-x 2 root admin 152172 Feb 21 18:47
/opt/local/lib/libboost_date_time-d-1_34_1.dylib
lrwxr-xr-x 1 root admin 29 Feb 21 18:56
/opt/local/lib/libboost_date_time-d.a -> libboost_date_time-d-1_34_1.a
lrwxr-xr-x 1 root admin 33 Feb 21 18:56
/opt/local/lib/libboost_date_time-d.dylib ->
libboost_date_time-d-1_34_1.dylib
-rw-r--r-- 2 root admin 92248 Feb 21 18:46 /opt/local/lib
/libboost_date_time-mt-1_34_1.a
-rwxr-xr-x 2 root admin 53640 Feb 21 18:47 /opt/local/lib
/libboost_date_time-mt-1_34_1.dylib
-rw-r--r-- 2 root admin 428856 Feb 21 18:46 /opt/local/lib
/libboost_date_time-mt-d-1_34_1.a
-rwxr-xr-x 2 root admin 152220 Feb 21 18:47 /opt/local/lib
/libboost_date_time-mt-d-1_34_1.dylib
lrwxr-xr-x 1 root admin 32 Feb 21 18:56 /opt/local/lib
/libboost_date_time-mt-d.a -> libboost_date_time-mt-d-1_34_1.a
lrwxr-xr-x 1 root admin 36 Feb 21 18:56 /opt/local/lib
/libboost_date_time-mt-d.dylib -> libboost_date_time-mt-d-1_34_1.dylib
lrwxr-xr-x 1 root admin 30 Feb 21 18:56 /opt/local/lib
/libboost_date_time-mt.a -> libboost_date_time-mt-1_34_1.a
lrwxr-xr-x 1 root admin 34 Feb 21 18:56 /opt/local/lib
/libboost_date_time-mt.dylib -> libboost_date_time-mt-1_34_1.dylib
lrwxr-xr-x 1 root admin 27 Feb 21 18:56
/opt/local/lib/libboost_date_time.a -> libboost_date_time-1_34_1.a
lrwxr-xr-x 1 root admin 31 Feb 21 18:56
/opt/local/lib/libboost_date_time.dylib -> libboost_date_time-1_34_1.dylib
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14365#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list