summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/procmail/Makefile10
-rw-r--r--mk/mk.conf.example8
2 files changed, 16 insertions, 2 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile
index 77d647a934c..05907e868dd 100644
--- a/mail/procmail/Makefile
+++ b/mail/procmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2001/04/06 22:53:15 kim Exp $
+# $NetBSD: Makefile,v 1.21 2001/04/07 01:53:24 kim Exp $
# FreeBSD Id: Makefile,v 1.24 1997/05/14 14:40:34 ache Exp
#
@@ -15,6 +15,14 @@ MAKE_ENV= SHELL=/bin/sh
.include "../../mk/bsd.prefs.mk"
+BUILD_DEFS+= PROCMAIL_MAILSPOOLHOME
+
+.ifdef(PROCMAIL_MAILSPOOLHOME)
+pre-configure:
+ ${ECHO} "#define MAILSPOOLHOME \"/${PROCMAIL_MAILSPOOLHOME}\"" \
+ >> ${WRKSRC}/src/authenticate.h
+.endif
+
.if ${OPSYS} == "SunOS"
do-install:
cd ${WRKSRC}/new; \
diff --git a/mk/mk.conf.example b/mk/mk.conf.example
index e6fe7daf279..8545a20f088 100644
--- a/mk/mk.conf.example
+++ b/mk/mk.conf.example
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf.example,v 1.192 2001/03/29 22:22:53 kim Exp $
+# $NetBSD: mk.conf.example,v 1.193 2001/04/07 01:53:23 kim Exp $
#
# Sample /etc/mk.conf file, which can be used to set specific values
@@ -688,6 +688,12 @@ PAPERSIZE= A4
# Possible: Any valid directory
# Default: ${LOCALBASE}/etc
+#PROCMAIL_MAILSPOOLHOME=.MailBox
+# To default user mailboxes to their home directory,
+# specify the name of the mailbox file.
+# Possible: Any valid filename, not defined
+# Default: not defined
+
#QPOPPER_SERVERMODE=
# Used in qpopper package to enable server mode.
# Possible: defined, not defined