From 7277ec6a16005fbbf00e59a8beacc7634f4376fc Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 5 Jan 2017 22:58:02 +0000 Subject: Assume "pkg-config libusb*" works after 9.x EOL FreeBSD appears to use different pkg-config name for 0.1.x API but it doesn't matter much as 0.1, 1.0 and 2.0 share CFLAGS/LIBS. --- print/cups/files/patch-configure | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'print/cups') diff --git a/print/cups/files/patch-configure b/print/cups/files/patch-configure index fc6c8a79888c..5b50e1cb13a3 100644 --- a/print/cups/files/patch-configure +++ b/print/cups/files/patch-configure @@ -1,19 +1,5 @@ --- 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 -- cgit v1.2.3