summaryrefslogtreecommitdiff
path: root/net/py-pcap
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2019-05-23 19:22:54 +0000
committerrillig <rillig@pkgsrc.org>2019-05-23 19:22:54 +0000
commitcabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5 (patch)
treedfd45506cac9c8adb60a55d809ab0dbc4d5a750e /net/py-pcap
parentafe0216c35d9e0e0b96fe80eb38badf368ef84a7 (diff)
downloadpkgsrc-cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5.tar.gz
all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
Diffstat (limited to 'net/py-pcap')
-rw-r--r--net/py-pcap/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile
index 85052def50a..c6b430c49bc 100644
--- a/net/py-pcap/Makefile
+++ b/net/py-pcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2019/04/26 13:14:10 maya Exp $
+# $NetBSD: Makefile,v 1.14 2019/05/23 19:23:10 rillig Exp $
DISTNAME= pypcap-1.1
PKGNAME= ${PYPKGPREFIX}-pcap-1.1
@@ -20,7 +20,7 @@ SUBST_STAGE.python= pre-configure
SUBST_CLASSES+= prefix
SUBST_FILES.prefix= Makefile
-SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_VARS.prefix= PREFIX
SUBST_STAGE.prefix= pre-configure
PYDISTUTILSPKG= yes