aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-12-31 08:45:55 +0800
committeroliver <oliver@FreeBSD.org>2003-12-31 08:45:55 +0800
commit23f5571281011fba4b76d42312a8f7e32a491498 (patch)
tree7e8fc0a8a193e84c89735f92e8176bd771c7c474 /mail
parentf4644fdec96399bcb2a9c09a4686d575450f232b (diff)
downloadfreebsd-ports-gnome-23f5571281011fba4b76d42312a8f7e32a491498.tar.gz
freebsd-ports-gnome-23f5571281011fba4b76d42312a8f7e32a491498.tar.zst
freebsd-ports-gnome-23f5571281011fba4b76d42312a8f7e32a491498.zip
fix pkg-plist when WITHOUT_PAM is defined
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-imap/Makefile2
-rw-r--r--mail/courier-imap/pkg-plist3
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index eae8c76c2420..d29bd4f7b2c3 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -124,8 +124,10 @@ PLIST_SUB+= AUTHDFLAG="@comment "
.if !defined(WITHOUT_PAM)
CONFIGURE_ARGS+=--with-authpam
+PLIST_SUB+= PAMFLAG="" PWDFLAG="@comment "
.else
CONFIGURE_ARGS+=--without-authpam
+PLIST_SUB+= PAMFLAG="@comment " PWDFLAG=""
.endif
.if !defined(WITH_CRAM)
diff --git a/mail/courier-imap/pkg-plist b/mail/courier-imap/pkg-plist
index 63d5f0f436d1..2dec94f6b2a7 100644
--- a/mail/courier-imap/pkg-plist
+++ b/mail/courier-imap/pkg-plist
@@ -27,7 +27,8 @@ bin/pop3d
%%MYSQLFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.mysql
%%PGSQLFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.pgsql
%%AUTHDFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.plain
-%%LIBEXECDIR%%/authlib/authpam
+%%PAMFLAG%%%%LIBEXECDIR%%/authlib/authpam
+%%PWDFLAG%%%%LIBEXECDIR%%/authlib/authpwd
%%LIBEXECDIR%%/authlib/authuserdb
%%VPOPMAILFLAG%%%%LIBEXECDIR%%/authlib/authvchkpw
%%LIBEXECDIR%%/courierlogger