summaryrefslogtreecommitdiff
path: root/mk/tools/bsd.tools.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-11 05:22:03 +0000
committerjlam <jlam@pkgsrc.org>2005-06-11 05:22:03 +0000
commit9a2b543ac37d2f8187889def024f007af321708e (patch)
treea3053f68cdabaefad6764deea8445dd3b5ec4148 /mk/tools/bsd.tools.mk
parentdf53a167dae85b10e168ce7ed1510efa4c8f0792 (diff)
downloadpkgsrc-9a2b543ac37d2f8187889def024f007af321708e.tar.gz
Remove unnecessary .undef lines after .for loops as the loop variables
are automatically undefined after the loop exits.
Diffstat (limited to 'mk/tools/bsd.tools.mk')
-rw-r--r--mk/tools/bsd.tools.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/mk/tools/bsd.tools.mk b/mk/tools/bsd.tools.mk
index 22dbb7a5956..b10eae1b30f 100644
--- a/mk/tools/bsd.tools.mk
+++ b/mk/tools/bsd.tools.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.tools.mk,v 1.28 2005/05/21 04:53:17 jlam Exp $
+# $NetBSD: bsd.tools.mk,v 1.29 2005/06/11 05:22:03 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -125,20 +125,17 @@ USE_TOOLS?= # empty
TOOLS_CREATE+= ${_t_}
TOOLS_REAL_CMDLINE.${_t_}?= exit 0
.endfor
-.undef _t_
.for _t_ in ${TOOLS_BROKEN}
TOOLS_CREATE+= ${_t_}
TOOLS_REAL_CMDLINE.${_t_}?= exit 1
.endfor
-.undef _t_
.for _t_ in ${TOOLS_GNU_MISSING}
TOOLS_CREATE+= ${_t_}
TOOLS_REAL_CMD.${_t_}?= ${PKGSRCDIR}/mk/gnu-config/missing
TOOLS_REAL_CMDLINE.${_t_}?= ${TOOLS_REAL_CMD.${_t_}} ${_t_:T:C/-[0-9].*$//}
.endfor
-.undef _t_
######################################################################
@@ -215,8 +212,6 @@ ${TOOLS_CMD.${_t_}}:
${TEST} ${.TARGET:Q} = ${.TARGET:H:Q}/${_a_} || \
${LN} -fs ${.TARGET:T:Q} ${.TARGET:H:Q}/${_a_}
. endfor
-. undef _a_
.endfor
-.undef _t_
.endif # BSD_TOOLS_MK