summaryrefslogtreecommitdiff
path: root/time
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 /time
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 'time')
-rw-r--r--time/hamster-applet/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/hamster-applet/Makefile b/time/hamster-applet/Makefile
index 6c82c458852..cdf029b1a82 100644
--- a/time/hamster-applet/Makefile
+++ b/time/hamster-applet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2018/07/03 05:03:38 adam Exp $
+# $NetBSD: Makefile,v 1.58 2018/07/04 13:40:39 jperkin Exp $
DISTNAME= hamster-applet-2.28.1
PKGREVISION= 36
@@ -21,7 +21,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # py-ORBit via py-gnome2, py-gtk2
SUBST_CLASSES+= python
SUBST_MESSAGE.python= Fixing path to Python interpreter.
-SUBST_STAGE.python= post-patch
+SUBST_STAGE.python= pre-configure
SUBST_FILES.python= hamster/hamster-applet.py
SUBST_SED.python= -e 's@/usr/bin/env python@${PYTHONBIN}@g'