summaryrefslogtreecommitdiff
path: root/mk/tools/tools.OSF1.mk
diff options
context:
space:
mode:
authortnn <tnn>2007-08-05 12:38:22 +0000
committertnn <tnn>2007-08-05 12:38:22 +0000
commit7d0c3e70d24e1517882e2b6d12805579d14c0e9b (patch)
tree27e9a19ceb01a8d103c9d6a073b162521aafe083 /mk/tools/tools.OSF1.mk
parentc4f2dcbdcdb9376681f1a876cc67d059a98760c4 (diff)
downloadpkgsrc-7d0c3e70d24e1517882e2b6d12805579d14c0e9b.tar.gz
/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 (limited to 'mk/tools/tools.OSF1.mk')
-rw-r--r--mk/tools/tools.OSF1.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/tools.OSF1.mk b/mk/tools/tools.OSF1.mk
index 9d951dc438a..466dcf7ce67 100644
--- a/mk/tools/tools.OSF1.mk
+++ b/mk/tools/tools.OSF1.mk
@@ -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.env?= /usr/bin/env
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