pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Define tools that we use within the tools fra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/299cc4982497
branches:  trunk
changeset: 493128:299cc4982497
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Apr 27 20:35:01 2005 +0000

description:
Define tools that we use within the tools framework itself.

diffstat:

 mk/tools/bsd.tools.mk |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 251837f3e763 -r 299cc4982497 mk/tools/bsd.tools.mk
--- a/mk/tools/bsd.tools.mk     Wed Apr 27 19:51:49 2005 +0000
+++ b/mk/tools/bsd.tools.mk     Wed Apr 27 20:35:01 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.tools.mk,v 1.7 2005/04/26 22:28:03 jlam Exp $
+# $NetBSD: bsd.tools.mk,v 1.8 2005/04/27 20:35:01 jlam Exp $
 #
 # This Makefile fragment creates tools under ${TOOLS_DIR} that are
 # found before similarly-named tools in the system path.
@@ -107,6 +107,19 @@
 
 ######################################################################
 
+# These tools are used in the targets that actually create the wrappers
+# and symlinks.  We define them here so that as a fallback, we'll just
+# use the ones in the PATH.  This makes the tools framework more
+# standalone.
+
+CHMOD?=         chmod
+ECHO?=          echo
+FALSE?=          echo
+LN?=            ln
+MKDIR?=         mkdir -p
+
+######################################################################
+
 # The default wrapper script will invoke the real command, followed by
 # any arguments specified in TOOLS_ARGS.*, followed by any command-line
 # arguments passed to the wrapper script.  By default, the wrapper in



Home | Main Index | Thread Index | Old Index