diff options
-rw-r--r-- | mail/procmail/Makefile | 7 | ||||
-rw-r--r-- | mail/procmail/patches/patch-ab | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index b00eb04c2b4..6bcef455da9 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 1998/06/18 15:25:25 agc Exp $ +# $NetBSD: Makefile,v 1.8 1998/07/03 14:57:05 frueauf Exp $ # FreeBSD Id: Makefile,v 1.24 1997/05/14 14:40:34 ache Exp # @@ -11,4 +11,9 @@ MAINTAINER= packages@netbsd.org INSTALL_TARGET= install-suid install.man +post-patch: + ${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h-orig + ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' < ${WRKSRC}/config.h-orig \ + > ${WRKSRC}/config.h + .include "../../mk/bsd.pkg.mk" diff --git a/mail/procmail/patches/patch-ab b/mail/procmail/patches/patch-ab index be45797a7c3..49bb6f55060 100644 --- a/mail/procmail/patches/patch-ab +++ b/mail/procmail/patches/patch-ab @@ -34,11 +34,11 @@ is not found, maildelivery will proceed as normal to the default system mailbox. */ -! #define ETCRC "/usr/local/etc/procmailrc" /* optional global procmailrc startup +! #define ETCRC "@LOCALBASE@/etc/procmailrc" /* optional global procmailrc startup file (will only be read if procmail is started with no rcfile on the command line). */ -! #define ETCRCS "/usr/local/etc/procmailrcs/" /* optional trusted path prefix for +! #define ETCRCS "@LOCALBASE@/etc/procmailrcs/" /* optional trusted path prefix for rcfiles which will be executed with the uid of the owner of the rcfile (this only happens if procmail is called with the -m option, without variable assignments on the command |