pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools /usr/bin/file on OSF1 is somewhat broken in t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/471337d5b31b
branches: trunk
changeset: 531721:471337d5b31b
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Aug 05 12:38:22 2007 +0000
description:
/usr/bin/file on OSF1 is somewhat broken in that it reports the path
of the interpreter as the filetype when a file starts with #!
This unfortunately breaks SUBST handling. For now, use a dummy that
claims that every file is a text file.
diffstat:
mk/tools/tools.OSF1.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r fa190836aafc -r 471337d5b31b mk/tools/tools.OSF1.mk
--- a/mk/tools/tools.OSF1.mk Sun Aug 05 12:30:10 2007 +0000
+++ b/mk/tools/tools.OSF1.mk Sun Aug 05 12:38:22 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.OSF1.mk,v 1.12 2007/04/11 13:12:15 tnn Exp $
+# $NetBSD: tools.OSF1.mk,v 1.13 2007/08/05 12:38:22 tnn Exp $
#
# System-supplied tools for the OSF/1 operating system.
@@ -22,7 +22,7 @@
TOOLS_PLATFORM.expr?= /bin/expr
TOOLS_PLATFORM.false?= false # shell builtin
TOOLS_PLATFORM.fgrep?= /usr/bin/grep -F
-TOOLS_PLATFORM.file?= /usr/bin/file
+TOOLS_PLATFORM.file?= /usr/bin/printf "%s: text\n"
TOOLS_PLATFORM.find?= /usr/bin/find
TOOLS_PLATFORM.grep?= /usr/bin/grep
TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
Home |
Main Index |
Thread Index |
Old Index