summaryrefslogtreecommitdiff
path: root/devel/exctags/Makefile
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 /devel/exctags/Makefile
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 'devel/exctags/Makefile')
-rw-r--r--devel/exctags/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/exctags/Makefile b/devel/exctags/Makefile
index 620b1563ae6..a8eb1ff06e2 100644
--- a/devel/exctags/Makefile
+++ b/devel/exctags/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2015/11/14 06:01:02 richard Exp $
+# $NetBSD: Makefile,v 1.29 2018/07/04 13:40:14 jperkin Exp $
#
DISTNAME= ctags-5.8
@@ -24,7 +24,7 @@ CPPFLAGS+= -DETAGS="\"exetags\""
CFLAGS+= ${CPPFLAGS}
SUBST_CLASSES+= man
-SUBST_STAGE.man= post-patch
+SUBST_STAGE.man= pre-configure
SUBST_FILES.man= ctags.1
SUBST_SED.man= -e 's|^ctags \\-|exctags \\-|'
SUBST_SED.man+= -e 's|fBctags|fBexctags|g'
@@ -34,7 +34,7 @@ SUBST_SED.man+= -e 's|"etags|"exetags|g'
SUBST_SED.man+= -e 's|/usr/local|${PREFIX}|g'
SUBST_CLASSES+= rename
-SUBST_STAGE.rename= post-patch
+SUBST_STAGE.rename= pre-configure
SUBST_FILES.rename= c.c eiffel.c general.h lregex.c lua.c main.c \
options.c parse.c routines.c
SUBST_SED.rename= -e 's|__unused__|__unused_|g'