summaryrefslogtreecommitdiff
path: root/mail/perdition
diff options
context:
space:
mode:
Diffstat (limited to 'mail/perdition')
-rw-r--r--mail/perdition/PLIST4
-rw-r--r--mail/perdition/options.mk7
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
###