diff options
author | sbd <sbd@pkgsrc.org> | 2012-04-13 02:25:06 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-04-13 02:25:06 +0000 |
commit | bc9f999757a1ca88314d2de0edb4dba0d7f080af (patch) | |
tree | e068742603f0f16eb85c4d5186e6c4e0add469ef /mk | |
parent | 2fe71a4899570219ac2bf363629957460628ebfe (diff) | |
download | pkgsrc-bc9f999757a1ca88314d2de0edb4dba0d7f080af.tar.gz |
Use _TOOLS.pkg when using for loops in mk/tools/replace.mk so that pkglint
can see them.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/replace.mk | 11 |
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_}= |