pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Make sure that /usr/bin/wish exists before us...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/482f96d4b8a6
branches:  trunk
changeset: 517916:482f96d4b8a6
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Aug 25 10:03:02 2006 +0000

description:
Make sure that /usr/bin/wish exists before using it as a tool.

diffstat:

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

diffs (18 lines):

diff -r 1972c2393f94 -r 482f96d4b8a6 mk/tools/tools.Darwin.mk
--- a/mk/tools/tools.Darwin.mk  Fri Aug 25 07:03:59 2006 +0000
+++ b/mk/tools/tools.Darwin.mk  Fri Aug 25 10:03:02 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Darwin.mk,v 1.26 2006/06/14 16:57:07 jlam Exp $
+# $NetBSD: tools.Darwin.mk,v 1.27 2006/08/25 10:03:02 minskim Exp $
 #
 # System-supplied tools for the Darwin (Mac OS X) operating system.
 
@@ -87,6 +87,8 @@
 TOOLS_PLATFORM.true?=          true                    # shell builtin
 TOOLS_PLATFORM.tsort?=         /usr/bin/tsort
 TOOLS_PLATFORM.wc?=            /usr/bin/wc
+.if exists(/usr/bin/wish)
 TOOLS_PLATFORM.wish?=          /usr/bin/wish
+.endif
 TOOLS_PLATFORM.xargs?=         /usr/bin/xargs
 TOOLS_PLATFORM.yacc?=          /usr/bin/yacc



Home | Main Index | Thread Index | Old Index