summaryrefslogtreecommitdiff
path: root/print/cups/options.mk
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit84db467ec7c8386066718011f8d47775d5608811 (patch)
treefdd67c81079412bf94013749a954125434a9baca /print/cups/options.mk
parent7082f8c2044621c8641f3c82a2da95c2d442048c (diff)
downloadpkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'print/cups/options.mk')
-rw-r--r--print/cups/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/cups/options.mk b/print/cups/options.mk
index 9f7fe0dae03..6842b7644e1 100644
--- a/print/cups/options.mk
+++ b/print/cups/options.mk
@@ -1,20 +1,20 @@
-# $NetBSD: options.mk,v 1.1 2008/01/22 23:58:13 markd Exp $
+# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:09 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cups
PKG_SUPPORTED_OPTIONS= dnssd kerberos pam slp
PKG_SUGGESTED_OPTIONS= dnssd kerberos slp
.include "../../mk/bsd.options.mk"
+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_SUBST+= PAM=
+PLIST.pam= yes
.else
CONFIGURE_ARGS+= --disable-pam
MESSAGE_SRC= ${.CURDIR}/MESSAGE
-PLIST_SUBST+= PAM="@comment "
.endif
.if !empty(PKG_OPTIONS:Mslp)