pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Allow a tool to be passed to GNU configure sc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ed9f2c0cb4e
branches:  trunk
changeset: 494259:5ed9f2c0cb4e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun May 22 01:56:27 2005 +0000

description:
Allow a tool to be passed to GNU configure scripts under more than
one name.

diffstat:

 mk/tools/replace.mk |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 11bc7a919d6c -r 5ed9f2c0cb4e mk/tools/replace.mk
--- a/mk/tools/replace.mk       Sun May 22 01:53:55 2005 +0000
+++ b/mk/tools/replace.mk       Sun May 22 01:56:27 2005 +0000
@@ -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 @@
 #
 .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



Home | Main Index | Thread Index | Old Index