summaryrefslogtreecommitdiff
path: root/sysutils/vip/patches/patch-aa
blob: 0a5fa90921f84f39d6da3976523946bfeb047613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$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
 
 #