diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-07-04 13:40:07 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-07-04 13:40:07 +0000 |
commit | 3cc59ce5299d6358f3c1487cc9da3d48ef0a0647 (patch) | |
tree | 4b7c9cc25a344fafc9d2f536ba6e474a9bb281e6 /mail/metamail | |
parent | 063580a062ba10ffba035c8d96b541b5ce7a426d (diff) | |
download | pkgsrc-3cc59ce5299d6358f3c1487cc9da3d48ef0a0647.tar.gz |
*: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
Diffstat (limited to 'mail/metamail')
-rw-r--r-- | mail/metamail/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile index 8be6fb854fb..9855b24b255 100644 --- a/mail/metamail/Makefile +++ b/mail/metamail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2017/01/19 18:52:16 agc Exp $ +# $NetBSD: Makefile,v 1.53 2018/07/04 13:40:23 jperkin Exp $ DISTNAME= mm2.7 PKGNAME= metamail-2.7 @@ -34,11 +34,11 @@ REPLACE_CSH+= fonts/Xmailto-hebrew fonts/Xshownonascii INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man4 ${EGDIR} SUBST_CLASSES+= awk sys -SUBST_STAGE.awk= post-patch +SUBST_STAGE.awk= pre-configure SUBST_MESSAGE.awk= Adjusting the path to awk SUBST_FILES.awk= bin/sun2mime SUBST_SED.awk= -e "s|/bin/nawk|${AWK}|" -SUBST_STAGE.sys= post-patch +SUBST_STAGE.sys= pre-configure SUBST_MESSAGE.sys= Adjusting the path for PKG_SYSCONFDIR. SUBST_FILES.sys= config.h SUBST_SED.sys= -e "s|PKG_SYSCONFDIR|\"${PKG_SYSCONFDIR}\"|g" |