summaryrefslogtreecommitdiff
path: root/comms/libticables/files/extra-patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'comms/libticables/files/extra-patch-configure')
-rw-r--r--comms/libticables/files/extra-patch-configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/comms/libticables/files/extra-patch-configure b/comms/libticables/files/extra-patch-configure
new file mode 100644
index 000000000000..7b30c348af12
--- /dev/null
+++ b/comms/libticables/files/extra-patch-configure
@@ -0,0 +1,26 @@
+--- 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.
+
+