diff options
Diffstat (limited to 'print/cups/files/patch-configure')
-rw-r--r-- | print/cups/files/patch-configure | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/print/cups/files/patch-configure b/print/cups/files/patch-configure new file mode 100644 index 000000000000..e667eebbc89c --- /dev/null +++ b/print/cups/files/patch-configure @@ -0,0 +1,24 @@ +--- configure.orig 2016-02-05 17:22:09 UTC ++++ configure +@@ -5390,6 +5390,13 @@ $as_echo "yes" >&6; } + CFLAGS="$CFLAGS `$PKGCONFIG --cflags libusb-1.0`" + LIBUSB="`$PKGCONFIG --libs libusb-1.0`" + USBQUIRKS="\$(DATADIR)/usb" ++ elif test -f /usr/lib/libusb.so; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ $as_echo "#define HAVE_LIBUSB 1" >>confdefs.h ++ ++ LIBUSB="-lusb" ++ USBQUIRKS="\$(DATADIR)/usb" + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } +@@ -5656,7 +5663,6 @@ if test "${with_dbusdir+set}" = set; the + fi + + +-DBUSDIR="" + DBUS_NOTIFIER="" + DBUS_NOTIFIERLIBS="" + |