From 3cc59ce5299d6358f3c1487cc9da3d48ef0a0647 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 4 Jul 2018 13:40:07 +0000 Subject: *: 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. --- parallel/sge/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parallel/sge') diff --git a/parallel/sge/Makefile b/parallel/sge/Makefile index d11f307c31e..61f58de1697 100644 --- a/parallel/sge/Makefile +++ b/parallel/sge/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.65 2016/10/03 11:48:31 wiz Exp $ +# $NetBSD: Makefile,v 1.66 2018/07/04 13:40:32 jperkin Exp $ DISTNAME= sge-8.1.6 PKGREVISION= 5 @@ -123,7 +123,7 @@ post-patch: rm ${WRKSRC}/source/dist/util/*.orig SUBST_CLASSES+= paths -SUBST_STAGE.paths= post-patch +SUBST_STAGE.paths= pre-configure SUBST_FILES.paths= source/dist/util/arch_variables SUBST_SED.paths= -e 's;@rcd_dir@;${RCD_SCRIPTS_DIR};' -- cgit v1.2.3