From 63f173a25c7308b8e7cca0259d88581fcb1c8f12 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Fri, 21 Dec 2001 05:59:05 +0000 Subject: [PATCH] autotools police: replace hardcoded references with AUTO{CONF,HEADER} variables PR: 32298 Prompted by: maintainer --- mail/nmh/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index af1131c2d62d..52e8c590fb0b 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -94,6 +94,10 @@ MLINKS= mh-profile.5 mh_profile.5 MAN8= ap.8 conflict.8 dp.8 fmtdump.8 install-mh.8 mh-mts.8 post.8 +post-patch: + @${PERL} -pi -e "s|autoconf|${AUTOCONF}|;\ + s|autoheader|${AUTOHEADER}|" ${WRKSRC}/Makefile.in + post-install: @PKG_PREFIX='${PREFIX}' ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL chgrp mail ${PREFIX}/bin/inc