pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Use /bin/tcsh only when it exists. A minimal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/475816553357
branches:  trunk
changeset: 514936:475816553357
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Jun 20 22:32:28 2006 +0000

description:
Use /bin/tcsh only when it exists.  A minimal installtion of Linux may
not have it.

diffstat:

 mk/tools/tools.Linux.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r ec57d27c9750 -r 475816553357 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Tue Jun 20 22:28:01 2006 +0000
+++ b/mk/tools/tools.Linux.mk   Tue Jun 20 22:32:28 2006 +0000
@@ -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?=           /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)



Home | Main Index | Thread Index | Old Index