pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools If "TOOL" is already defined, then we don't n...
details: https://anonhg.NetBSD.org/pkgsrc/rev/083c9ea9ced7
branches: trunk
changeset: 492972:083c9ea9ced7
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Apr 24 03:41:10 2005 +0000
description:
If "TOOL" is already defined, then we don't need to redefine it.
diffstat:
mk/tools/replace.mk | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r f40f443dbf29 -r 083c9ea9ced7 mk/tools/replace.mk
--- a/mk/tools/replace.mk Sun Apr 24 03:29:11 2005 +0000
+++ b/mk/tools/replace.mk Sun Apr 24 03:41:10 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.7 2005/04/24 03:07:36 jlam Exp $
+# $NetBSD: replace.mk,v 1.8 2005/04/24 03:41:10 jlam Exp $
#
# This Makefile fragment handles "replacements" of system-supplied
# tools with pkgsrc versions. The replacements are placed under
@@ -356,10 +356,8 @@
${${_TOOLS_VARNAME.${_t_}}:C/^/_asdf_/1:N_asdf_*}
. if !empty(TOOLS_ARGS.${_t_})
TOOLS_WRAP+= ${_t_}
-${_TOOLS_VARNAME.${_t_}}= ${TOOLS_REAL_CMD.${_t_}} ${TOOLS_ARGS.${_t_}}
. else
TOOLS_SYMLINK+= ${_t_}
-${_TOOLS_VARNAME.${_t_}}= ${TOOLS_REAL_CMD.${_t_}}
. endif
. elif defined(TOOLS_REAL_CMD.${_t_})
${_TOOLS_VARNAME.${_t_}}= ${TOOLS_REAL_CMD.${_t_}} ${TOOLS_ARGS.${_t_}}
Home |
Main Index |
Thread Index |
Old Index