summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-06-20 22:32:28 +0000
committerminskim <minskim@pkgsrc.org>2006-06-20 22:32:28 +0000
commit5c57cd656ee4e0289b3c448e62b2e23bd6d49c3c (patch)
tree0a8c9fdfecaf3d35d0583735196fe0f246899d9a /mk
parentc5e9422cc1778b5f81e8f172ddb475b4e837c159 (diff)
downloadpkgsrc-5c57cd656ee4e0289b3c448e62b2e23bd6d49c3c.tar.gz
Use /bin/tcsh only when it exists. A minimal installtion of Linux may
not have it.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.Linux.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk
index 1241d7830c8..ad64b574d54 100644
--- a/mk/tools/tools.Linux.mk
+++ b/mk/tools/tools.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.34 2006/06/14 16:57:07 jlam Exp $
+# $NetBSD: tools.Linux.mk,v 1.35 2006/06/20 22:32:28 minskim Exp $
#
# System-supplied tools for the Linux operating system.
@@ -29,7 +29,9 @@ TOOLS_PLATFORM.cmp?= /bin/cmp
TOOLS_PLATFORM.cmp?= /usr/bin/cmp
.endif
TOOLS_PLATFORM.cp?= /bin/cp
+.if exists(/bin/tcsh)
TOOLS_PLATFORM.csh?= /bin/tcsh
+.endif
.if exists(/bin/cut)
TOOLS_PLATFORM.cut?= /bin/cut
.elif exists(/usr/bin/cut)