summaryrefslogtreecommitdiff
path: root/net/smokeping
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 /net/smokeping
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 'net/smokeping')
-rw-r--r--net/smokeping/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/smokeping/Makefile b/net/smokeping/Makefile
index d4a4beff5ae..3796b7951e3 100644
--- a/net/smokeping/Makefile
+++ b/net/smokeping/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2017/09/04 18:08:26 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2018/07/04 13:40:31 jperkin Exp $
DISTNAME= smokeping-2.6.7
PKGREVISION= 6
@@ -48,7 +48,7 @@ REPLACE_PERL+= bin/smokeinfo bin/tSmoke
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= files
-SUBST_STAGE.files= post-patch
+SUBST_STAGE.files= pre-configure
SUBST_FILES.files= etc/config.dist.in bin/smokeping \
bin/smokeping_cgi bin/tSmoke \
htdocs/Makefile.in smokeping.conf
@@ -60,7 +60,7 @@ SUBST_SED.files+= -e "s|@SPDIR@|${SPDIR}|g"
SUBST_MESSAGE.files= Fixing configuration files.
SUBST_CLASSES+= libs
-SUBST_STAGE.libs= post-patch
+SUBST_STAGE.libs= pre-configure
SUBST_FILES.libs= bin/smokeping_cgi bin/smokeping bin/smokeinfo bin/tSmoke
SUBST_SED.libs= -e "s|FindBin::Bin/../lib|FindBin::Bin/../lib/smokeping|g"
SUBST_MESSAGE.libs= Fixing library path