summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorkim <kim>2001-04-07 01:53:23 +0000
committerkim <kim>2001-04-07 01:53:23 +0000
commit587e5598faec9ba9c97e56efaa50c1f64f3f5adf (patch)
tree30e2d0532b0bd031626ba1d55dbf9f2e803e7afe /mail
parent71bb3e765b90a91d98aecab0ba48274dfc23a80d (diff)
downloadpkgsrc-587e5598faec9ba9c97e56efaa50c1f64f3f5adf.tar.gz
Add optional setting for placing the default mailbox in the user home dir.
Diffstat (limited to 'mail')
-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; \