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 
>>> if they could just depend on devel/libusb and Magic Happened (tm) to pick
>>> the correct thing.
> The correct solution is 'USE_LIBUSB=yes' 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= 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?
> 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

freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to