summaryrefslogtreecommitdiff
path: root/mk/tools.mk
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-17 02:03:53 +0000
committerjlam <jlam>2003-08-17 02:03:53 +0000
commit97c99ce5fdc588713540cc8ba585f0bed603bcfc (patch)
tree1b8979dfae2d58eb5a5d076c73ef7097cbceb247 /mk/tools.mk
parentd5d9e6fa02ca7705fd147263f6a984d69934041d (diff)
downloadpkgsrc-97c99ce5fdc588713540cc8ba585f0bed603bcfc.tar.gz
If an OS is listed in _TOOLS_REPLACE_OPSYS.<tool>, then we want to make
sure that tool is symlinked into ${TOOLS_DIR}/bin.
Diffstat (limited to 'mk/tools.mk')
-rw-r--r--mk/tools.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/tools.mk b/mk/tools.mk
index f0220637a80..c7b83bfa49d 100644
--- a/mk/tools.mk
+++ b/mk/tools.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.mk,v 1.7 2003/08/16 23:54:31 grant Exp $
+# $NetBSD: tools.mk,v 1.8 2003/08/17 02:03:53 jlam Exp $
#
# This Makefile creates a ${TOOLS_DIR} directory and populates the bin
# subdir with tools that hide the ones outside of ${TOOLS_DIR}.
@@ -166,15 +166,17 @@ _TOOLS_NEED_GNU.${_tool_}= NO
_TOOLS_NEED_GNU.${_tool_}= YES
. endif
. endfor
+.endfor # USE_GNU_TOOLS
#
# Are we using a GNUish system tool in place of the needed GNU tool?
#
+.for _tool_ in ${_TOOLS}
. for _pattern_ in ${_TOOLS_REPLACE_OPSYS.${_tool_}}
. if !empty(MACHINE_PLATFORM:M${_pattern_})
_TOOLS_REPLACE.${_tool_}= YES
. endif
. endfor
-.endfor # USE_GNU_TOOLS
+.endfor _TOOLS
.if ${_TOOLS_REPLACE.awk} == "YES"
_TOOLS_OVERRIDE.awk= YES