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. --- mail/gld/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/gld') diff --git a/mail/gld/Makefile b/mail/gld/Makefile index 1af3e78d61c..1b4a2bc5b7e 100644 --- a/mail/gld/Makefile +++ b/mail/gld/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2017/08/01 14:59:01 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2018/07/04 13:40:23 jperkin Exp $ # DISTNAME= gld-1.7 @@ -29,11 +29,11 @@ PKG_GROUPS_VARS+= GLD_GROUP PKG_USERS_VARS+= GLD_USER SUBST_CLASSES+= gld users -SUBST_STAGE.gld= post-patch +SUBST_STAGE.gld= pre-configure SUBST_FILES.gld= gld.h SUBST_SED.gld= -e "s,/etc,${PKG_SYSCONFDIR}," SUBST_MESSAGE.gld= Fixing harcoded paths. -SUBST_STAGE.users= post-patch +SUBST_STAGE.users= pre-configure SUBST_FILES.users= gld.conf SUBST_SED.users+= -e "s|^USER=nobody|USER=${GLD_USER}|" SUBST_SED.users+= -e "s|^GROUP=nobody|GROUP=${GLD_GROUP}|" -- cgit v1.2.3