summaryrefslogtreecommitdiff
path: root/textproc/awf/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/awf/patches/patch-ab')
-rw-r--r--textproc/awf/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/awf/patches/patch-ab b/textproc/awf/patches/patch-ab
new file mode 100644
index 00000000000..e8ce05c7736
--- /dev/null
+++ b/textproc/awf/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2005/01/18 22:20:08 tv Exp $
+
+--- awf.orig 2005-01-18 17:16:21.000000000 -0500
++++ awf
+@@ -1,7 +1,7 @@
+ #! /bin/sh
+-PATH=/bin:/usr/bin ; export PATH
+ # AWFLIB is where the pieces live
+ AWFLIB=${AWFLIB-/usr/lib/awf}
++AWK=${AWK-@AWK@}
+
+ tmp=/tmp/awp$$ # tempfile for building pass 2
+ errs=/tmp/awe$$ # error messages (awk can't send to stderr)
+@@ -48,7 +48,7 @@ trap "rm -f $tmp $errs ; exit 0" 0 1 2
+ done
+ fi
+ echo ".^e"
+-) | awk -f $AWFLIB/pass1 | awk -f $tmp | awk -f $AWFLIB/pass3
++) | $AWK -f $AWFLIB/pass1 | $AWK -f $tmp | $AWK -f $AWFLIB/pass3
+
+ # error messages, if any
+ if test -s $errs