From 4e4ef94026e5172cfff47708eac85e1943f68673 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 5 Dec 2009 05:57:21 +0000 Subject: - add missing option WITH_LIBUSB Reported by: Bruce Simpson --- print/cups-base/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'print/cups-base/Makefile') diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 60caf7b60e5b..7be17a2cec90 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -46,6 +46,7 @@ OPTIONS?= GNUTLS "Build with GNUTLS library" on \ PAM "Build with PAM support" off \ LDAP "Build with LDAP support" off \ DBUS "Build with DBUS support" off \ + LIBUSB "Build with USB support" off \ GHOSTSCRIPT "Build pdftps with GHOSTSCRIPT" on \ XDG_OPEN "Build with XDG_OPEN as browser" off @@ -172,6 +173,10 @@ CONFIGURE_ARGS+= --disable-dbus RUN_DEPENDS+= xdg-open:${PORTSDIR}/devel/xdg-utils .endif +.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && defined(WITH_LIBUSB) +LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb +.endif + .if defined(CUPS_CLIENT) MAN1= cups-config.1 .elif defined(CUPS_IMAGE) -- cgit v1.2.3