pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Prefer builtin echo, test/[, true/false.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99ffd4d67713
branches:  trunk
changeset: 545694:99ffd4d67713
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Aug 10 15:17:25 2008 +0000

description:
Prefer builtin echo, test/[, true/false.
State that we use pdksh on these platforms.

diffstat:

 mk/tools/tools.OSF1.mk  |   6 ++++--
 mk/tools/tools.SunOS.mk |  10 ++++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (58 lines):

diff -r 262d88737dbe -r 99ffd4d67713 mk/tools/tools.OSF1.mk
--- a/mk/tools/tools.OSF1.mk    Sun Aug 10 12:38:39 2008 +0000
+++ b/mk/tools/tools.OSF1.mk    Sun Aug 10 15:17:25 2008 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: tools.OSF1.mk,v 1.13 2007/08/05 12:38:22 tnn Exp $
+# $NetBSD: tools.OSF1.mk,v 1.14 2008/08/10 15:17:25 ahoka Exp $
 #
 # System-supplied tools for the OSF/1 operating system.
+#
+# We bootstrap a pdksh shell on this platform.
 
 TOOLS_PLATFORM.[?=             [                       # shell builtin
 TOOLS_PLATFORM.awk?=           /usr/bin/awk
@@ -16,7 +18,7 @@
 TOOLS_PLATFORM.date?=          /bin/date
 TOOLS_PLATFORM.diff?=          /usr/bin/diff
 TOOLS_PLATFORM.dirname?=       /usr/bin/dirname
-TOOLS_PLATFORM.echo?=          /usr/bin/echo
+TOOLS_PLATFORM.echo?=          echo                    # shell builtin
 TOOLS_PLATFORM.egrep?=         /usr/bin/grep -E
 TOOLS_PLATFORM.env?=           /usr/bin/env
 TOOLS_PLATFORM.expr?=          /bin/expr
diff -r 262d88737dbe -r 99ffd4d67713 mk/tools/tools.SunOS.mk
--- a/mk/tools/tools.SunOS.mk   Sun Aug 10 12:38:39 2008 +0000
+++ b/mk/tools/tools.SunOS.mk   Sun Aug 10 15:17:25 2008 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: tools.SunOS.mk,v 1.28 2008/08/09 15:14:01 ahoka Exp $
+# $NetBSD: tools.SunOS.mk,v 1.29 2008/08/10 15:17:26 ahoka Exp $
 #
 # System-supplied tools for the Solaris operating system.
+#
+# We bootstrap a pdksh shell on this platform.
 
 TOOLS_PLATFORM.[?=             [                       # shell builtin
 TOOLS_PLATFORM.awk?=           /usr/bin/nawk
@@ -38,11 +40,11 @@
 TOOLS_PLATFORM.diff3?=         /usr/bin/diff3
 .endif
 TOOLS_PLATFORM.dirname?=       /usr/bin/dirname
-TOOLS_PLATFORM.echo?=          echo    # we use pdksh so this is builtin
+TOOLS_PLATFORM.echo?=          echo                    # shell builtin
 TOOLS_PLATFORM.egrep?=         /usr/xpg4/bin/grep -E
 TOOLS_PLATFORM.env?=           /usr/bin/env
 TOOLS_PLATFORM.expr?=          /usr/xpg4/bin/expr
-TOOLS_PLATFORM.false?=         /usr/bin/false
+TOOLS_PLATFORM.false?=         false                   # shell builtin
 TOOLS_PLATFORM.fgrep?=         /usr/xpg4/bin/fgrep
 TOOLS_PLATFORM.file?=          /usr/bin/file
 TOOLS_PLATFORM.find?=          /usr/bin/find
@@ -103,7 +105,7 @@
 TOOLS_PLATFORM.test?=          test                    # shell builtin
 TOOLS_PLATFORM.touch?=         /usr/bin/touch
 TOOLS_PLATFORM.tr?=            /usr/bin/tr
-TOOLS_PLATFORM.true?=          /usr/bin/true
+TOOLS_PLATFORM.true?=          true                    # shell builtin
 TOOLS_PLATFORM.tsort?=         /usr/ccs/bin/tsort
 TOOLS_PLATFORM.wc?=            /usr/bin/wc
 TOOLS_PLATFORM.xargs?=         /usr/bin/xargs



Home | Main Index | Thread Index | Old Index