summaryrefslogtreecommitdiff
path: root/mk/tools/defaults.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-07-15 20:14:02 +0000
committerjlam <jlam@pkgsrc.org>2005-07-15 20:14:02 +0000
commite26a9ed75610d28f00b94394a6ca824ad26bb7c3 (patch)
tree891fd0228b3d843aa6c33a088cc94bc8bb92dcd4 /mk/tools/defaults.mk
parentbf9129c41e2b7be767d2c17d60e379900e6dda5f (diff)
downloadpkgsrc-e26a9ed75610d28f00b94394a6ca824ad26bb7c3.tar.gz
Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify a
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier to the tool name, e.g., USE_TOOLS+= perl:run Tools without modifiers or with an explicit ":build" modifier will cause build dependencies (BUILD_DEPENDS) on those tools to be added. This makes the notation a bit more compact.
Diffstat (limited to 'mk/tools/defaults.mk')
-rw-r--r--mk/tools/defaults.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/defaults.mk b/mk/tools/defaults.mk
index 81ea80ef7f4..479e4145aec 100644
--- a/mk/tools/defaults.mk
+++ b/mk/tools/defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defaults.mk,v 1.35 2005/07/15 18:27:55 jlam Exp $
+# $NetBSD: defaults.mk,v 1.36 2005/07/15 20:14:04 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -178,7 +178,7 @@ _TOOLS_VARNAME_GNU.yacc= YACC
# just in the targets, so these must be defined here, and this file be
# included by bsd.prefs.mk.
#
-.for _t_ in ${USE_TOOLS:O:u}
+.for _t_ in ${USE_TOOLS:C/:.*//:O:u}
. if defined(_TOOLS_VARNAME.${_t_}) && \
defined(TOOLS_PLATFORM.${_t_}) && !empty(TOOLS_PLATFORM.${_t_})
. for _v_ in ${_TOOLS_VARNAME.${_t_}}