summaryrefslogtreecommitdiff
path: root/print/cups/options.mk
diff options
context:
space:
mode:
authorwiz <wiz>2014-06-07 11:54:54 +0000
committerwiz <wiz>2014-06-07 11:54:54 +0000
commit1a906a68f73963516cb086106ad0698b652c9e89 (patch)
tree24b0d969cb04d9359fb7de62b5439ce0cd4fc40f /print/cups/options.mk
parent55df1d25cb58e7e02852bd9caf7e76f81fadb9c4 (diff)
downloadpkgsrc-1a906a68f73963516cb086106ad0698b652c9e89.tar.gz
Fixes for usb and dnssd options, from Robert Swindells.
Diffstat (limited to 'print/cups/options.mk')
-rw-r--r--print/cups/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/cups/options.mk b/print/cups/options.mk
index aa73bd0543d..f4f1bd9ab87 100644
--- a/print/cups/options.mk
+++ b/print/cups/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.16 2012/10/08 12:47:23 marino Exp $
+# $NetBSD: options.mk,v 1.17 2014/06/07 11:54:54 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cups
PKG_OPTIONS_REQUIRED_GROUPS= pdftops
@@ -55,11 +55,13 @@ CONFIGURE_ARGS+= --enable-gssapi
CONFIGURE_ARGS+= --disable-gssapi
.endif
+PLIST_VARS+= libusb
.if !empty(PKG_OPTIONS:Mlibusb)
.include "../../devel/libusb1/buildlink3.mk"
CONFIGURE_ARGS+= --enable-libusb
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.libusb
USE_TOOLS+= pkg-config
+PLIST.libusb= yes
.else
CONFIGURE_ARGS+= --disable-libusb
.endif