pkgsrc/sysutils/vip/patches/patch-aa
2005-09-28 20:59:08 +00:00

23 lines
550 B
Text

$NetBSD: patch-aa,v 1.2 2005/09/28 20:59:08 seb Exp $
--- vip.orig 2005-09-21 00:35:09.000000000 +0200
+++ vip
@@ -66,7 +66,7 @@ Usage: $PROG [ -no ] [ command ]
otherwise stdin is used;
"
-: ${TMPDIR:="/usr/tmp"} # where temp. files go
+: ${TMPDIR:="/var/tmp"} # where temp. files go
TEMP_FILE="$TMPDIR/$PROG.$$" # temp. file to hold data to edit
COMMAND="cat" # default command to produce input
DFLT_ED="vi" # default editor
@@ -81,6 +81,9 @@ case "$SYS" in
;;
"HP-UX "*)
AWK=awk
+ ;;
+ "NetBSD "*)
+ AWK=awk
esac
#