USB2 - libusb20 vs devel/libusb

Andre Guibert de Bruet andy at siliconlandmark.com
Wed Feb 4 19:04:49 PST 2009


On Feb 4, 2009, at 5:23 AM, Hans Petter Selasky wrote:

> On Wednesday 04 February 2009, Vladimir Grebenschikov wrote:
>> On Wed, 2009-02-04 at 10:49 +0100, Hans Petter Selasky wrote:
>>
>> Probably we may provide patch against devel/libusb to depend it on
>> libusb20 ?
>
> Yes. I don't know about such a patch yet, but this is something that  
> needs to
> be done for -current.

Could we get a pkg-config definition file for libusb20 in the base  
system or in the libusb port? I have come up with my own for my  
systems (See below). There's a plethora of configure scripts that  
depend on pkg-config to do the right thing WRT libusb...

# -- 8< --
# Package Information for pkg-config

prefix=/usr/
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libusb
Description: libusb 2.0
Version: 2.0
Libs: -L${libdir} -lusb20
Cflags: -I${includedir}
# -- 8< --

Cheers,
Andy

/*  Andre Guibert de Bruet  * 436f 6465 2070 6f65 742e 2042 6974 206a */
/*     Managing Partner     * 6f63 6b65 792e 2053 7973 4164 6d69 6e2e */
/*   GSM: +1 734 846 8758   * 2055 4e49 5820 736c 6575 7468 2e00 0000 */
/* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */



More information about the freebsd-current mailing list