pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Only set the "TOOL" variable if one has been ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e98db6b5d2ee
branches: trunk
changeset: 493160:e98db6b5d2ee
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Apr 28 17:40:52 2005 +0000
description:
Only set the "TOOL" variable if one has been associated with the tool.
diffstat:
mk/tools/replace.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 7681870e8bd6 -r e98db6b5d2ee mk/tools/replace.mk
--- a/mk/tools/replace.mk Thu Apr 28 17:37:06 2005 +0000
+++ b/mk/tools/replace.mk Thu Apr 28 17:40:52 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.52 2005/04/28 17:35:48 jlam Exp $
+# $NetBSD: replace.mk,v 1.53 2005/04/28 17:40:52 jlam Exp $
#
# This Makefile fragment handles "replacements" of system-supplied
# tools with pkgsrc versions. The replacements are placed under
@@ -1000,7 +1000,9 @@
${TOOLS_PLATFORM.${_t_}:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//}
TOOLS_ARGS.${_t_}?= \
${TOOLS_PLATFORM.${_t_}:C/^/_asdf_/1:N_asdf_*}
+. if defined(_TOOLS_VARNAME.${_t_})
${_TOOLS_VARNAME.${_t_}}= ${TOOLS_PLATFORM.${_t_}}
+. endif
. if !empty(TOOLS_ARGS.${_t_})
TOOLS_WRAP+= ${_t_}
. else
Home |
Main Index |
Thread Index |
Old Index