aboutsummaryrefslogtreecommitdiff
path: root/print/cups
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-01-05 22:58:02 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-01-05 22:58:02 +0000
commit7277ec6a16005fbbf00e59a8beacc7634f4376fc (patch)
tree89becbb47fd3ca1d6f3fd97d6677e0b01732e970 /print/cups
parent96966101c6558191cb15925803ded6baf1737eb7 (diff)
downloadports-7277ec6a16005fbbf00e59a8beacc7634f4376fc.tar.gz
ports-7277ec6a16005fbbf00e59a8beacc7634f4376fc.zip
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.
Notes
Notes: svn path=/head/; revision=430669
Diffstat (limited to 'print/cups')
-rw-r--r--print/cups/files/patch-configure14
1 files changed, 0 insertions, 14 deletions
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