summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-22 01:56:27 +0000
committerjlam <jlam>2005-05-22 01:56:27 +0000
commitc27da143106f8c71c498fb011a98cf66361ed3a0 (patch)
tree2e141118b91bfdeb4ebedc84daf29099cf7f779d /mk
parent0380484905a9b56bf800df54d32235cf8eb20298 (diff)
downloadpkgsrc-c27da143106f8c71c498fb011a98cf66361ed3a0.tar.gz
Allow a tool to be passed to GNU configure scripts under more than
one name.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/replace.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 0d8a25f766e..44ca01113ce 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.90 2005/05/21 23:09:36 jlam Exp $
+# $NetBSD: replace.mk,v 1.91 2005/05/22 01:56:27 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1191,10 +1191,10 @@ ${_v_}?= ${TOOLS_${_TOOLS_VARNAME.${_t_}}}
#
.if defined(GNU_CONFIGURE)
. for _t_ in ${_USE_TOOLS}
-. if defined(_TOOLS_VARNAME_GNU.${_t_}) && \
- defined(TOOLS_${_TOOLS_VARNAME.${_t_}})
-CONFIGURE_ENV+= \
- ${_TOOLS_VARNAME_GNU.${_t_}}=${TOOLS_${_TOOLS_VARNAME.${_t_}}:Q}
+. if defined(TOOLS_${_TOOLS_VARNAME.${_t_}})
+. for _v_ in ${_TOOLS_VARNAME_GNU.${_t_}}
+CONFIGURE_ENV+= ${_v_}=${TOOLS_${_TOOLS_VARNAME.${_t_}}:Q}
+. endfor
. endif
. endfor
.endif