summaryrefslogtreecommitdiff
path: root/mail/gld
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-07-04 13:40:07 +0000
committerjperkin <jperkin@pkgsrc.org>2018-07-04 13:40:07 +0000
commit3cc59ce5299d6358f3c1487cc9da3d48ef0a0647 (patch)
tree4b7c9cc25a344fafc9d2f536ba6e474a9bb281e6 /mail/gld
parent063580a062ba10ffba035c8d96b541b5ce7a426d (diff)
downloadpkgsrc-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/gld')
-rw-r--r--mail/gld/Makefile6
1 files changed, 3 insertions, 3 deletions
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}|"