pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk If an OS is listed in _TOOLS_REPLACE_OPSYS.<tool>, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f65e10172f62
branches:  trunk
changeset: 460048:f65e10172f62
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Aug 17 02:03:53 2003 +0000

description:
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:

 mk/tools.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 92ec5111f0ac -r f65e10172f62 mk/tools.mk
--- a/mk/tools.mk       Sat Aug 16 23:54:31 2003 +0000
+++ b/mk/tools.mk       Sun Aug 17 02:03:53 2003 +0000
@@ -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_}=     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



Home | Main Index | Thread Index | Old Index