From owner-freebsd-gnome@FreeBSD.ORG Sat Feb 5 05:41:22 2011 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CDB61065670; Sat, 5 Feb 2011 05:41:22 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 61B3A8FC13; Sat, 5 Feb 2011 05:41:21 +0000 (UTC) Received: from ur.dons.net.au (ppp203-122-198-247.lns6.adl6.internode.on.net [203.122.198.247]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p155fDks047012 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 5 Feb 2011 16:11:14 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <20110205053138.GC20095@server.vk2pj.dyndns.org> Date: Sat, 5 Feb 2011 16:11:08 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: <41EB5AAB-ADE7-4241-82FA-6208B9CE5186@gsoft.com.au> References: <200912251137.43667.doconnor@gsoft.com.au> <200912252058.58879.doconnor@gsoft.com.au> <200912251244.46651.hselasky@c2i.net> <201001071454.47314.doconnor@gsoft.com.au> <7A41C2A4-8569-462F-9A39-E799623AF452@gsoft.com.au> <20110205053138.GC20095@server.vk2pj.dyndns.org> To: Peter Jeremy X-Mailer: Apple Mail (2.1082) X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: gnome@freebsd.org, freebsd-usb@freebsd.org Subject: Re: libusb-config missing? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2011 05:41:22 -0000 On 05/02/2011, at 16:01, Peter Jeremy wrote: >> On 07/01/2010, at 14:54, Daniel O'Connor wrote: >>> One problem is that ports don't know which version to use, it would = be nice=20 >>> if they could just depend on devel/libusb and Magic Happened (tm) to = pick >>> the correct thing. >=20 > The correct solution is 'USE_LIBUSB=3Dyes' with relevant magic in = bsd.port.mk > Unfortunately this is unlikely to occur because it's only needed for = 7.x > which will be dying within the next few years. USE_LIBUSB=3D would be nice, I will see if I can author such a thing.. That said it is still desirable to have .pc files for libusb as I = believe that is the canonical way to determine how to compile & link = against it. If that is by making USE_LIBUSB adds a dep to a pseudo port which = installs the .pc files, or adds no dep because the .pc files are in base = are pretty much equivalent IMO. >> What about if devel/pkgconfig is modified to search in = /usr/libdata/pkgconfig and systems with native libusb have entries in = there? >=20 > Apart from libusb, are there any other apps in the base system that > could reasonably install .pc files? None come to mind.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C