summaryrefslogtreecommitdiff
path: root/net/py-pcap
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/py-pcap
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/py-pcap')
-rw-r--r--net/py-pcap/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile
index ae11924f069..be83c4e3637 100644
--- a/net/py-pcap/Makefile
+++ b/net/py-pcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2018/07/03 05:03:29 adam Exp $
+# $NetBSD: Makefile,v 1.12 2018/07/04 13:40:30 jperkin Exp $
DISTNAME= pypcap-1.1
PKGNAME= ${PYPKGPREFIX}-pcap-1.1
@@ -16,12 +16,12 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-pyrex-[0-9]*:../../lang/py-pyrex
SUBST_CLASSES+= python
SUBST_FILES.python= Makefile
SUBST_SED.python+= -e 's,@PYTHON@,${PYTHONBIN},g'
-SUBST_STAGE.python= post-patch
+SUBST_STAGE.python= pre-configure
SUBST_CLASSES+= prefix
SUBST_FILES.prefix= Makefile
SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g"
-SUBST_STAGE.prefix= post-patch
+SUBST_STAGE.prefix= pre-configure
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # py-pyrex