summaryrefslogtreecommitdiff
path: root/mail/procmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/procmail/Makefile')
-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; \