pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Don't bother testing whether the target file ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ae6892a2de8
branches: trunk
changeset: 493130:6ae6892a2de8
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Apr 27 20:52:29 2005 +0000
description:
Don't bother testing whether the target file is excutable. Let's just
trust the user.
diffstat:
mk/tools/bsd.tools.mk | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 9af749d9d2fe -r 6ae6892a2de8 mk/tools/bsd.tools.mk
--- a/mk/tools/bsd.tools.mk Wed Apr 27 20:48:32 2005 +0000
+++ b/mk/tools/bsd.tools.mk Wed Apr 27 20:52:29 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.tools.mk,v 1.8 2005/04/27 20:35:01 jlam Exp $
+# $NetBSD: bsd.tools.mk,v 1.9 2005/04/27 20:52:29 jlam Exp $
#
# This Makefile fragment creates tools under ${TOOLS_DIR} that are
# found before similarly-named tools in the system path.
@@ -172,17 +172,14 @@
. else
TOOLS_REAL_CMD.${_t_}?= ${FALSE}
. endif
-TOOLS_CMD.${_t_}?= ${TOOLS_DIR}/bin/${_t_}
+TOOLS_CMD.${_t_}?= ${TOOLS_DIR}/bin/${_t_}
. if !empty(TOOLS_CMD.${_t_}:M${TOOLS_DIR}/*) && \
!target(${TOOLS_CMD.${_t_}}) && exists(${TOOLS_REAL_CMD.${_t_}})
override-tools: ${TOOLS_CMD.${_t_}}
${TOOLS_CMD.${_t_}}: ${TOOLS_REAL_CMD.${_t_}}
- ${_PKG_SILENT}${_PKG_DEBUG} \
- if ${TEST} -x "${TOOLS_REAL_CMD.${_t_}}"; then \
- ${MKDIR} ${.TARGET:H}; \
- ${LN} -sf ${TOOLS_REAL_CMD.${_t_}} ${.TARGET}; \
- fi
+ ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
+ ${_PKG_SILENT}${_PKG_DEBUG}${LN} -sf ${TOOLS_REAL_CMD.${_t_}} ${.TARGET}
. endif
.endfor
.undef _t_
Home |
Main Index |
Thread Index |
Old Index