freebsd-ports/comms/dfu-util/files/patch-configure.ac
Stanislav Sedov f5d05ea54d - Chase libusb20 rename in r189585.
- Mark sane-backends broken on current due to changes
  in USB stack.

Reviewed by:	thompsa (old version), miwi
Tested by:	miwi
2009-03-09 17:15:43 +00:00

13 lines
405 B
Text

--- configure.ac.orig 2008-10-07 17:14:07.000000000 +0400
+++ configure.ac 2009-03-08 11:54:32.000000000 +0300
@@ -15,9 +15,8 @@
# Checks for libraries.
-PKG_CHECK_MODULES(USB, libusb >= 0.1.4,,
- AC_MSG_ERROR([*** Required libusb >= 0.1.4 not installed ***]))
AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
+USB_LIBS=-lusb
LIBS="$LIBS $USB_LIBS"
CFLAGS="$CFLAGS $USB_CFLAGS"