summaryrefslogtreecommitdiff
path: root/games/xrick
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 /games/xrick
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 'games/xrick')
-rw-r--r--games/xrick/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/xrick/Makefile b/games/xrick/Makefile
index 5fd19b00159..614afb8cda7 100644
--- a/games/xrick/Makefile
+++ b/games/xrick/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2015/04/25 14:23:05 tnn Exp $
+# $NetBSD: Makefile,v 1.27 2018/07/04 13:40:20 jperkin Exp $
#
DISTNAME= xrick-021212
@@ -20,7 +20,7 @@ NO_SRC_ON_FTP= ${RESTRICTED}
USE_TOOLS+= gmake gunzip
SUBST_CLASSES+= data
-SUBST_STAGE.data= post-patch
+SUBST_STAGE.data= pre-configure
SUBST_MESSAGE.data= Adjusting path to data.zip
SUBST_FILES.data= src/xrick.c
SUBST_SED.data= -e "s|data.zip|${PREFIX}/share/xrick/&|"