summaryrefslogtreecommitdiff
path: root/print/cups/options.mk
diff options
context:
space:
mode:
authorsbd <sbd>2010-06-09 08:58:05 +0000
committersbd <sbd>2010-06-09 08:58:05 +0000
commitcf3f5231bfb08cca5b5410fafae5bb656804f2f5 (patch)
treef4d847aaa8fdcd1329f40a277dbc437883e09081 /print/cups/options.mk
parent5652775965c431c2bbe911c2dfb42c26541c95a3 (diff)
downloadpkgsrc-cf3f5231bfb08cca5b5410fafae5bb656804f2f5.tar.gz
Include a MESSAGE on how to use libusb DeviceURI's if the libusb option is on.
Diffstat (limited to 'print/cups/options.mk')
-rw-r--r--print/cups/options.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/print/cups/options.mk b/print/cups/options.mk
index f911dc7ff84..e889b3a65e8 100644
--- a/print/cups/options.mk
+++ b/print/cups/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2010/05/26 09:18:48 sbd Exp $
+# $NetBSD: options.mk,v 1.10 2010/06/09 08:58:05 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cups
PKG_OPTIONS_REQUIRED_GROUPS= pdftops
@@ -9,6 +9,8 @@ PKG_OPTIONS_LEGACY_OPTS+= xpdf:poppler gs:ghostscript
.include "../../mk/bsd.options.mk"
+MESSAGE_SRC= ${PKGDIR}/MESSAGE
+
.if !empty(PKG_OPTIONS:Macl)
CONFIGURE_ARGS+= --enable-acl
.else
@@ -48,6 +50,7 @@ CONFIGURE_ARGS+= --disable-gssapi
.if !empty(PKG_OPTIONS:Mlibusb)
.include "../../devel/libusb/buildlink3.mk"
CONFIGURE_ARGS+= --enable-libusb
+MESSAGE_SRC+= ${PKGDIR}/MESSAGE.libusb
.else
CONFIGURE_ARGS+= --disable-libusb
.endif
@@ -56,7 +59,6 @@ PLIST_VARS+= pam
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --enable-pam
-MESSAGE_SRC= ${PKGDIR}/MESSAGE
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pam
PLIST.pam= yes
.else