summaryrefslogtreecommitdiff
path: root/mk/tools/replace.mk
diff options
context:
space:
mode:
authorsbd <sbd>2012-04-13 02:25:06 +0000
committersbd <sbd>2012-04-13 02:25:06 +0000
commit3534e06dd6888d6655ccbfb5b30aaeb47887dbd3 (patch)
treee068742603f0f16eb85c4d5186e6c4e0add469ef /mk/tools/replace.mk
parent1f27e091ea28d47b291bfa5c8ede244778b87faf (diff)
downloadpkgsrc-3534e06dd6888d6655ccbfb5b30aaeb47887dbd3.tar.gz
Use _TOOLS.pkg when using for loops in mk/tools/replace.mk so that pkglint
can see them.
Diffstat (limited to 'mk/tools/replace.mk')
-rw-r--r--mk/tools/replace.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 21e17945f77..2189652b6b1 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.247 2012/04/12 13:58:03 hans Exp $
+# $NetBSD: replace.mk,v 1.248 2012/04/13 02:25:06 sbd Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -281,7 +281,8 @@ TOOLS_CMD.byacc= ${TOOLS_DIR}/bin/yacc
. endif
.endif
-.for _t_ in bzip2 bzcat
+_TOOLS.bzip2= bzip2 bzcat
+.for _t_ in ${_TOOLS.bzip2}
. if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_})
. if !empty(PKGPATH:Marchivers/bzip2)
MAKEFLAGS+= TOOLS_IGNORE.${_t_}=
@@ -305,7 +306,8 @@ TOOLS_PATH.chrpath= ${TOOLS_PREFIX.chrpath}/bin/chrpath
. endif
.endif
-.for _t_ in cmake cpack
+_TOOLS.cmake= cmake cpack
+.for _t_ in ${_TOOLS.cmake}
. if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_})
. if !empty(PKGPATH:Mdevel/cmake)
MAKEFLAGS+= TOOLS_IGNORE.${_t_}=
@@ -871,7 +873,8 @@ TOOLS_VALUE_GNU.yacc= ${TOOLS_CMDLINE.yacc}
. endif
.endif
-.for _t_ in zip zipcloak zipnote zipsplit
+_TOOLS.zip= zip zipcloak zipnote zipsplit
+.for _t_ in ${_TOOLS.zip}
. if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_})
. if !empty(PKGPATH:Marchivers/zip)
MAKEFLAGS+= TOOLS_IGNORE.${_t_}=