[MacPorts] #43766: wcslib: fix library install_name

MacPorts noreply at macports.org
Tue May 20 15:00:32 PDT 2014


#43766: wcslib: fix library install_name
--------------------------+--------------------
 Reporter:  ryandesign@…  |      Owner:  john@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.99
 Keywords:                |       Port:  wcslib
--------------------------+--------------------
 The install_name of libwcs.${version}.dylib is wrong (isn't set at build
 time):

 {{{
 $ port installed wcslib
 The following ports are currently installed:
   wcslib @4.23_0 (active)
 $ otool -L /opt/local/lib/libwcs.4.23.dylib
 /opt/local/lib/libwcs.4.23.dylib:
         libwcs.4.23.dylib (compatibility version 4.0.0, current version
 4.23.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1197.1.1)
 }}}

 The port's optional gcc variants try to deal with this problem with this
 block:

 {{{
     post-destroot {
         system "install_name_tool -change libwcs.${version}.dylib
 ${prefix}/lib/libwcs.${version}.dylib
 ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"
     }
 }}}

 But the better way to deal with this is to set the install_name of
 libwcs.${version}.dylib at build time.

-- 
Ticket URL: <https://trac.macports.org/ticket/43766>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list