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. --- x11/gtk-sharp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11/gtk-sharp/Makefile') diff --git a/x11/gtk-sharp/Makefile b/x11/gtk-sharp/Makefile index d1ecf0b2491..2d894be74e3 100644 --- a/x11/gtk-sharp/Makefile +++ b/x11/gtk-sharp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.65 2018/04/16 14:35:21 wiz Exp $ +# $NetBSD: Makefile,v 1.66 2018/07/04 13:40:43 jperkin Exp $ # DISTNAME= gtk-sharp-2.12.26 @@ -29,7 +29,7 @@ PKGCONFIG_OVERRIDE+= glade/glade-sharp-2.0.pc.in SUBST_CLASSES+= relprefix SUBST_MESSAGE.relprefix=Replacing relative prefix in pkg-config files. -SUBST_STAGE.relprefix= post-patch +SUBST_STAGE.relprefix= pre-configure SUBST_FILES.relprefix= ${PKGCONFIG_OVERRIDE} SUBST_SED.relprefix= -e 's|$${pcfiledir}/../..|@prefix@|g' -- cgit v1.2.3