freebsd-ports/comms/libticables/files/extra-patch-configure
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

26 lines
467 B
Text

--- configure.orig 2009-03-07 19:05:24.000000000 +0300
+++ configure 2009-03-07 19:06:25.000000000 +0300
@@ -26925,21 +26925,13 @@
echo "${ECHO_T}no" >&6
fi
-if test x$LIBUSB_CONFIG = xyes; then
- LIBUSB_CFLAGS=`libusb-config --cflags`
- LIBUSB_LIBS=`libusb-config --libs`
+ LIBUSB_CFLAGS=""
+ LIBUSB_LIBS="-lusb"
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBUSB 1
_ACEOF
-else
- LIBUSB_CFLAGS=
- LIBUSB_LIBS=
-fi
-
-
-
# Checks for header files.