Date: Wed, 4 Feb 2009 22:04:37 -0500 From: Andre Guibert de Bruet <andy@siliconlandmark.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: USB2 - libusb20 vs devel/libusb Message-ID: <F6F4194B-C4CD-4034-AC38-704508D8E06F@siliconlandmark.com> In-Reply-To: <200902041123.51301.hselasky@c2i.net> References: <1233732660.1767.30.camel@localhost> <200902041049.27444.hselasky@c2i.net> <1233741844.1767.133.camel@localhost> <200902041123.51301.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F6F4194B-C4CD-4034-AC38-704508D8E06F>
