[MacPorts] #26247: Various libusb libraries have same base name; please make each unique

MacPorts noreply at macports.org
Wed Aug 25 13:07:31 PDT 2010


#26247: Various libusb libraries have same base name; please make each unique
------------------------------------+---------------------------------------
 Reporter:  michaelld@…             |       Owner:  macports-tickets@…                   
     Type:  enhancement             |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.1                                
 Keywords:                          |        Port:  libusb, libusb-compat, libusb-legacy 
------------------------------------+---------------------------------------
 When linking with -lusb, the actual selected library will be one of
 'libusb-1.0', 'libusb-0.1.4', or 'libusb-0.1.4.4.4" depending on which
 directory I pick for linking (via -L).  Given that all versions of LIBUSB
 install a PKGCONFIG file as well as a 'config' executable for determining
 where install files are located and how to do linking, I think it makes
 sense to rename the legacy and compat versions with that info -- so,
 libusb-0.1.4.dylib becomes libusb-compat-0.1.4.dylib;
 libusb-0.1.4.4.4.dylib becomes libusb-legacy-0.1.4.4.4.dylib, and so
 forth.  This way, there is no confusion between -lusb (libusb version 1),
 -lusb-compat (libusb compat), and -lusb-legacy (libusb legacy).  I have a
 patch for libusb-compat that works; I'm working on one for libusb-legacy
 tonight & will attach the diffs once they work.

-- 
Ticket URL: <http://trac.macports.org/ticket/26247>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list