summaryrefslogtreecommitdiff
path: root/mail/procmail/Makefile
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-07-03 14:57:05 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-07-03 14:57:05 +0000
commit1f1bdf4e1ba6c31fa874d3d2593461f310862dea (patch)
treebdf617614e4a240fbdfb301af78941afbb5d7331 /mail/procmail/Makefile
parentbe0b4abae3bb269ad18e08b0373eca5e2bc2c166 (diff)
downloadpkgsrc-1f1bdf4e1ba6c31fa874d3d2593461f310862dea.tar.gz
Don't hardcode the etc dir to /usr/local/etc.
Fixes pr 5694 by Mason Loring Bliss.
Diffstat (limited to 'mail/procmail/Makefile')
-rw-r--r--mail/procmail/Makefile7
1 files changed, 6 insertions, 1 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"