summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-07-31 05:24:52 +0000
committergrant <grant@pkgsrc.org>2005-07-31 05:24:52 +0000
commit7ddb464f70cd86d742e7c417f43e59c4af4c3e14 (patch)
tree80e004daef7c8a7e0c15cf8e97c8419b92930855 /mk
parent7f3744b75fc3933bf2449142e18cab7d5a6e090e (diff)
downloadpkgsrc-7ddb464f70cd86d742e7c417f43e59c4af4c3e14.tar.gz
Solaris may have tbl(1) from the SUNWdoc package. avoids unnecessary
dependency on groff just for tbl(1) when available in the base system. also, add .if exists() around nroff(1) because SUNWdoc is optional.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.SunOS.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/tools/tools.SunOS.mk b/mk/tools/tools.SunOS.mk
index ea7cc5540b6..d5dfc3b54ac 100644
--- a/mk/tools/tools.SunOS.mk
+++ b/mk/tools/tools.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.SunOS.mk,v 1.17 2005/06/24 20:59:59 jlam Exp $
+# $NetBSD: tools.SunOS.mk,v 1.18 2005/07/31 05:24:52 grant Exp $
#
# System-supplied tools for the Solaris operating system.
@@ -55,7 +55,9 @@ TOOLS_PLATFORM.mktemp?= /usr/bin/mktemp
.endif
TOOLS_PLATFORM.mv?= /usr/bin/mv
TOOLS_PLATFORM.nice?= /usr/xpg4/bin/nice
+.if exists(/usr/bin/nroff)
TOOLS_PLATFORM.nroff?= /usr/bin/nroff
+.endif
.if exists(/usr/bin/gpatch)
TOOLS_PLATFORM.patch?= /usr/bin/gpatch
.endif
@@ -66,6 +68,9 @@ TOOLS_PLATFORM.sh?= /bin/ksh
TOOLS_PLATFORM.sort?= /usr/bin/sort
TOOLS_PLATFORM.strip?= /usr/ccs/bin/strip
TOOLS_PLATFORM.tail?= /usr/xpg4/bin/tail
+.if exists(/usr/bin/tbl)
+TOOLS_PLATFORM.tbl?= /usr/bin/tbl
+.endif
TOOLS_PLATFORM.tee?= /usr/bin/tee
TOOLS_PLATFORM.test?= test # shell builtin
TOOLS_PLATFORM.touch?= /usr/bin/touch