summaryrefslogtreecommitdiff
path: root/lang/pear
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 /lang/pear
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 'lang/pear')
-rw-r--r--lang/pear/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/pear/Makefile b/lang/pear/Makefile
index c6e98ba6ecf..684706c8938 100644
--- a/lang/pear/Makefile
+++ b/lang/pear/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2019/04/30 03:29:07 taca Exp $
+# $NetBSD: Makefile,v 1.48 2019/05/23 19:23:03 rillig Exp $
#
DISTNAME= PEAR-1.10.9
@@ -55,8 +55,8 @@ DISTFILES+= ${XMLUTIL_SRCS}
SUBST_CLASSES+= config
SUBST_STAGE.config= pre-configure
SUBST_FILES.config= install/go-pear.php
-SUBST_SED.config= -e "s|@WRKSRC@|${WRKSRC}|g"
-SUBST_SED.config+= -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_VARS.config= WRKSRC
+SUBST_VARS.config+= PREFIX
SUBST_MESSAGE.config= Fixing configuration files.
REPLACE_SH+= script/pear.sh