diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /mail/perdition | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'mail/perdition')
-rw-r--r-- | mail/perdition/PLIST | 4 | ||||
-rw-r--r-- | mail/perdition/options.mk | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/mail/perdition/PLIST b/mail/perdition/PLIST index 3e65f2f2dc5..f4c60700aeb 100644 --- a/mail/perdition/PLIST +++ b/mail/perdition/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2006/03/04 16:06:29 tv Exp $ +@comment $NetBSD: PLIST,v 1.5 2008/04/12 22:43:04 jlam Exp $ include/jain.h lib/libjain.la lib/libperditiondb_nis.la @@ -16,7 +16,7 @@ sbin/perdition.imap4s sbin/perdition.imaps sbin/perdition.pop3 sbin/perdition.pop3s -${PERDITION_HAVE_PAM}share/examples/pam.d/perdition +${PLIST.pam}share/examples/pam.d/perdition share/examples/perdition/Makefile share/examples/perdition/Makefile.popmap share/examples/perdition/perdition.conf diff --git a/mail/perdition/options.mk b/mail/perdition/options.mk index da5430a6472..676cbf6f2c5 100644 --- a/mail/perdition/options.mk +++ b/mail/perdition/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2007/03/02 12:05:32 grant Exp $ +# $NetBSD: options.mk,v 1.4 2008/04/12 22:43:04 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.perdition PKG_SUPPORTED_OPTIONS= ssl pam @@ -6,16 +6,17 @@ PKG_SUGGESTED_OPTIONS= ssl .include "../../mk/bsd.options.mk" +PLIST_VARS+= pam + ### ### Build with PAM support. ### .if !empty(PKG_OPTIONS:Mpam) . include "../../mk/pam.buildlink3.mk" -PLIST_SUBST+= PERDITION_HAVE_PAM= +PLIST.pam= yes .else # prevent recognition of PAM in the base system CONFIGURE_ENV+= ac_cv_header_security_pam_appl_h=no -PLIST_SUBST+= PERDITION_HAVE_PAM="@comment " .endif ### |