pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Remove redundant checks.
details: https://anonhg.NetBSD.org/pkgsrc/rev/176e5d522f90
branches: trunk
changeset: 493131:176e5d522f90
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Apr 27 20:53:44 2005 +0000
description:
Remove redundant checks.
diffstat:
mk/tools/bsd.tools.mk | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diffs (33 lines):
diff -r 6ae6892a2de8 -r 176e5d522f90 mk/tools/bsd.tools.mk
--- a/mk/tools/bsd.tools.mk Wed Apr 27 20:52:29 2005 +0000
+++ b/mk/tools/bsd.tools.mk Wed Apr 27 20:53:44 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.tools.mk,v 1.9 2005/04/27 20:52:29 jlam Exp $
+# $NetBSD: bsd.tools.mk,v 1.10 2005/04/27 20:53:44 jlam Exp $
#
# This Makefile fragment creates tools under ${TOOLS_DIR} that are
# found before similarly-named tools in the system path.
@@ -126,11 +126,7 @@
# ${TOOLS_DIR} will be in the "bin" directory and will be called <tool>.
#
.for _t_ in ${TOOLS_WRAP}
-. if defined(TOOLS_REAL_CMD.${_t_}) && !empty(TOOLS_REAL_CMD.${_t_}:M/*)
-# TOOLS_REAL_CMD.${_t_} is a full path, which is what we want.
-. else
TOOLS_REAL_CMD.${_t_}?= ${FALSE}
-. endif
TOOLS_ARGS.${_t_}?= # empty
TOOLS_REAL_CMDLINE.${_t_}?= ${TOOLS_REAL_CMD.${_t_}} ${TOOLS_ARGS.${_t_}} "$$@"
TOOLS_CMD.${_t_}?= ${TOOLS_DIR}/bin/${_t_}
@@ -167,11 +163,7 @@
# directory and will be called <tool>.
#
.for _t_ in ${TOOLS_SYMLINK}
-. if defined(TOOLS_REAL_CMD.${_t_}) && !empty(TOOLS_REAL_CMD.${_t_}:M/*)
-# TOOLS_REAL_CMD.${_t_} is a full path, which is what we want.
-. else
TOOLS_REAL_CMD.${_t_}?= ${FALSE}
-. endif
TOOLS_CMD.${_t_}?= ${TOOLS_DIR}/bin/${_t_}
. if !empty(TOOLS_CMD.${_t_}:M${TOOLS_DIR}/*) && \
Home |
Main Index |
Thread Index |
Old Index