summaryrefslogtreecommitdiff
path: root/devel/nss
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 /devel/nss
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 'devel/nss')
-rw-r--r--devel/nss/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/nss/Makefile b/devel/nss/Makefile
index 61a2e62a44e..0713f38bd6f 100644
--- a/devel/nss/Makefile
+++ b/devel/nss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.166 2019/05/16 14:08:16 ryoon Exp $
+# $NetBSD: Makefile,v 1.167 2019/05/23 19:22:58 rillig Exp $
DISTNAME= nss-${NSS_RELEASE:S/.0$//}
NSS_RELEASE= 3.44.0
@@ -95,11 +95,11 @@ NSS_DIST_DIR_VERSION= ${NSS_MAJOR_VERSION}_${NSS_MINOR_VERSION}_${NSS_PATCH_VERS
SUBST_CLASSES+= config
-SUBST_SED.config+= -e "s,@PREFIX@,${PREFIX},g"
-SUBST_SED.config+= -e "s,@NSS_MAJOR_VERSION@,${NSS_MAJOR_VERSION},"
-SUBST_SED.config+= -e "s,@NSS_MINOR_VERSION@,${NSS_MINOR_VERSION},"
-SUBST_SED.config+= -e "s,@NSS_PATCH_VERSION@,${NSS_PATCH_VERSION},"
-SUBST_SED.config+= -e "s!@COMPILER_RPATH_FLAG@!${COMPILER_RPATH_FLAG}!"
+SUBST_VARS.config= PREFIX
+SUBST_VARS.config+= NSS_MAJOR_VERSION
+SUBST_VARS.config+= NSS_MINOR_VERSION
+SUBST_VARS.config+= NSS_PATCH_VERSION
+SUBST_VARS.config+= COMPILER_RPATH_FLAG
SUBST_SED.config+= -e "s,@PTHREAD@,${BUILDLINK_LIBS.pthread:Q},"
SUBST_STAGE.config= pre-build
SUBST_MESSAGE.config= Preparing *-config files.