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. --- www/mono-xsp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/mono-xsp/Makefile') diff --git a/www/mono-xsp/Makefile b/www/mono-xsp/Makefile index 84a3dc8cb4a..cb1cdd6dcfc 100644 --- a/www/mono-xsp/Makefile +++ b/www/mono-xsp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2018/04/14 07:34:04 adam Exp $ +# $NetBSD: Makefile,v 1.44 2018/07/04 13:40:41 jperkin Exp $ DISTNAME= xsp-3.8 PKGNAME= mono-${DISTNAME} @@ -25,7 +25,7 @@ SUBST_SED.unwrap_mk= -e 's,^MAKEINFO = .*,MAKEINFO = makeinfo,' SUBST_SED.unwrap_mk+= -e 's,^PKG_CONFIG = .*,PKG_CONFIG = ${PREFIX}/bin/pkg-config,' SUBST_CLASSES+= fix-mcs -SUBST_STAGE.fix-mcs= post-patch +SUBST_STAGE.fix-mcs= pre-configure SUBST_MESSAGE.fix-mcs= Fix compiler name SUBST_FILES.fix-mcs= configure SUBST_SED.fix-mcs= -e 's,gmcs,mcs,' -- cgit v1.2.3