From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 03:04:49 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C13106566C for ; Thu, 5 Feb 2009 03:04:49 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [66.184.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id A483F8FC1C for ; Thu, 5 Feb 2009 03:04:48 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from [10.0.1.97] (c-76-112-231-135.hsd1.mi.comcast.net [76.112.231.135]) (authenticated bits=0) by lexi.siliconlandmark.com (8.14.2/8.14.2) with ESMTP id n1534grl020956 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 5 Feb 2009 03:04:43 GMT (envelope-from andy@siliconlandmark.com) Message-Id: From: Andre Guibert de Bruet To: Hans Petter Selasky In-Reply-To: <200902041123.51301.hselasky@c2i.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Wed, 4 Feb 2009 22:04:37 -0500 References: <1233732660.1767.30.camel@localhost> <200902041049.27444.hselasky@c2i.net> <1233741844.1767.133.camel@localhost> <200902041123.51301.hselasky@c2i.net> X-Mailer: Apple Mail (2.930.3) X-Virus-Scanned: ClamAV 0.94.1/8950/Wed Feb 4 11:19:05 2009 on lexi.siliconlandmark.com X-Virus-Status: Clean Cc: freebsd-current@freebsd.org Subject: Re: USB2 - libusb20 vs devel/libusb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 03:04:49 -0000 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 */