summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorahoka <ahoka>2008-08-10 15:17:25 +0000
committerahoka <ahoka>2008-08-10 15:17:25 +0000
commitf56d49545a9ea8b283af63efdbf74ea15d02c6c6 (patch)
treeee8f097a0833ab743d63e80ffb7c360254b89d91 /mk/tools
parent4885cc43c3ab680173e309c90d972d6023957610 (diff)
downloadpkgsrc-f56d49545a9ea8b283af63efdbf74ea15d02c6c6.tar.gz
Prefer builtin echo, test/[, true/false.
State that we use pdksh on these platforms.
Diffstat (limited to 'mk/tools')
-rw-r--r--mk/tools/tools.OSF1.mk6
-rw-r--r--mk/tools/tools.SunOS.mk10
2 files changed, 10 insertions, 6 deletions
diff --git a/mk/tools/tools.OSF1.mk b/mk/tools/tools.OSF1.mk
index 466dcf7ce67..9db00441955 100644
--- a/mk/tools/tools.OSF1.mk
+++ b/mk/tools/tools.OSF1.mk
@@ -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.cut?= /usr/bin/cut
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 --git a/mk/tools/tools.SunOS.mk b/mk/tools/tools.SunOS.mk
index c8a98f0a416..347d5983539 100644
--- a/mk/tools/tools.SunOS.mk
+++ b/mk/tools/tools.SunOS.mk
@@ -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?= /bin/diff3
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.tee?= /usr/bin/tee
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