summaryrefslogtreecommitdiff
path: root/mail/procmail
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2001-04-07 01:53:23 +0000
committerkim <kim@pkgsrc.org>2001-04-07 01:53:23 +0000
commit00cae3ece095c1a825b0db8ecb1fbdb8be803a0f (patch)
tree30e2d0532b0bd031626ba1d55dbf9f2e803e7afe /mail/procmail
parent2f9af9bf609f63c6164a80bc2f8dc3e1c202f099 (diff)
downloadpkgsrc-00cae3ece095c1a825b0db8ecb1fbdb8be803a0f.tar.gz
Add optional setting for placing the default mailbox in the user home dir.
Diffstat (limited to 'mail/procmail')
-rw-r--r--mail/procmail/Makefile10
1 files changed, 9 insertions, 1 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; \