aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-12-05 05:57:21 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-12-05 05:57:21 +0000
commit4e4ef94026e5172cfff47708eac85e1943f68673 (patch)
tree8b4268344d1a79e7c0bd58b751f59e8085ac12ab /print/cups-base/Makefile
parenteebeba626f2835b0fc13096f5fd2a488de19fcd6 (diff)
downloadports-4e4ef94026e5172cfff47708eac85e1943f68673.tar.gz
ports-4e4ef94026e5172cfff47708eac85e1943f68673.zip
Notes
Diffstat (limited to 'print/cups-base/Makefile')
-rw-r--r--print/cups-base/Makefile5
1 files changed, 5 insertions, 0 deletions
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)