[Nut-upsdev] Finding libusb on FreeBSD 8.0

Daniel O'Connor doconnor at gsoft.com.au
Fri Dec 25 01:08:30 UTC 2009

On Fri, 25 Dec 2009, Arjen de Korte wrote:
> Well, the only thing we could do, is fallback to these defaults if
> the   detection via 'libusb-config' fails to detect the libusb
> presence. But I really feel that this is a regression in FreeBSD and
> that not including libusb-config is really hurting. I fail to
> understand why the FreeBSD maintainers choose this is easier to fix
> in all packages that use libusb, than to just include a
> 'libusb-config' that simply returns these values.

It could probably be added, it does seem a bit silly that the library is 
there but the standard way of detecting it isn't..

I sent a message to freebsd-usb@ about it, I'll let you know what 

If you put the attached script in /usr/bin and chmod 555 it, it should 

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libusb-config
Type: application/x-shellscript
Size: 1240 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20091225/6e4084ec/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20091225/6e4084ec/attachment.pgp>

More information about the Nut-upsdev mailing list