pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Use /usr/bin/printf if it exists.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc666aeaf542
branches:  trunk
changeset: 520183:dc666aeaf542
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Oct 17 06:06:14 2006 +0000

description:
Use /usr/bin/printf if it exists.

diffstat:

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

diffs (19 lines):

diff -r a18575a98d45 -r dc666aeaf542 mk/tools/tools.IRIX.mk
--- a/mk/tools/tools.IRIX.mk    Tue Oct 17 05:46:09 2006 +0000
+++ b/mk/tools/tools.IRIX.mk    Tue Oct 17 06:06:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.IRIX.mk,v 1.16 2006/07/10 22:17:58 jlam Exp $
+# $NetBSD: tools.IRIX.mk,v 1.17 2006/10/17 06:06:14 rillig Exp $
 #
 # System-supplied tools for the IRIX operating system.
 
@@ -51,6 +51,9 @@
 TOOLS_PLATFORM.mkdir?=         /sbin/mkdir -p
 TOOLS_PLATFORM.mv?=            /sbin/mv
 TOOLS_PLATFORM.nice?=          /sbin/nice
+.if exists(/usr/bin/printf)
+TOOLS_PLATFORM.printf?=                /usr/bin/printf
+.endif
 TOOLS_PLATFORM.pwd?=           /sbin/pwd
 TOOLS_PLATFORM.rm?=            /sbin/rm
 TOOLS_PLATFORM.rmdir?=         /usr/bin/rmdir



Home | Main Index | Thread Index | Old Index