diff options
author | jlam <jlam> | 2005-04-27 20:52:29 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-04-27 20:52:29 +0000 |
commit | 9f3f674b742e058771e34b39a265a086eb54cf06 (patch) | |
tree | bb6775b3070bd79e0d043437bb576923dd7bd214 /mk | |
parent | f43806a791eede0950be113c7c572bfdb71c7b84 (diff) | |
download | pkgsrc-9f3f674b742e058771e34b39a265a086eb54cf06.tar.gz |
Don't bother testing whether the target file is excutable. Let's just
trust the user.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/bsd.tools.mk | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mk/tools/bsd.tools.mk b/mk/tools/bsd.tools.mk index 940b8f65777..1e26754f808 100644 --- a/mk/tools/bsd.tools.mk +++ b/mk/tools/bsd.tools.mk @@ -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 @@ ${TOOLS_CMD.${_t_}}: . 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_ |