summaryrefslogtreecommitdiff
path: root/net/poptop
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/poptop
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/poptop')
-rw-r--r--net/poptop/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/poptop/Makefile b/net/poptop/Makefile
index 5fb9b4b7fdb..2c5e89015ad 100644
--- a/net/poptop/Makefile
+++ b/net/poptop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2012/10/23 17:18:59 asau Exp $
+# $NetBSD: Makefile,v 1.22 2018/07/04 13:40:29 jperkin Exp $
DISTNAME= pptpd-1.3.4
PKGNAME= ${DISTNAME:S/pptpd/poptop/}
@@ -16,12 +16,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libwrap
SUBST_CLASSES+= sysconf
-SUBST_STAGE.sysconf= post-patch
+SUBST_STAGE.sysconf= pre-configure
SUBST_FILES.sysconf= defaults.h pptpd.8 pptpd.conf.5
SUBST_SED.sysconf= -e s,@@PKGSYSCONFDIR@@,${PKG_SYSCONFDIR},
SUBST_CLASSES+= logwtmp
-SUBST_STAGE.logwtmp= post-patch
+SUBST_STAGE.logwtmp= pre-configure
SUBST_FILES.logwtmp= pptpctrl.c
SUBST_SED.logwtmp= -e s,@@PREFIX@@,${PREFIX},