Date: Sat, 5 Feb 2011 16:11:08 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Peter Jeremy <peterjeremy@acm.org> Cc: gnome@freebsd.org, freebsd-usb@freebsd.org Subject: Re: libusb-config missing? Message-ID: <41EB5AAB-ADE7-4241-82FA-6208B9CE5186@gsoft.com.au> In-Reply-To: <20110205053138.GC20095@server.vk2pj.dyndns.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EB5AAB-ADE7-4241-82FA-6208B9CE5186>