From 1420457a5e479d2d243703cc992366aee6e87a88 Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 31 Jul 2005 05:24:52 +0000 Subject: 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. --- mk/tools/tools.SunOS.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mk') 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 -- cgit v1.2.3