summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-af
blob: 74630a0402f0dcfd419c586bce876f92ec7d2495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-af,v 1.6 2003/04/28 04:07:46 fredb Exp $

--- etc/psf/etc2ps.sh.orig	Sun Apr 27 15:00:44 2003
+++ etc/psf/etc2ps.sh	Sun Apr 27 19:51:31 2003
@@ -9,15 +9,12 @@
 # tag in the case.
 #
 
-DVIPSPATH=/usr/local/tex/bin
 DVIPS=/usr/local/tex/bin/dvips
 DVIPSARGS="-f -q"
 
-TROFF2PS=/usr/local/psroff/troff2/troff2ps
+TROFF2PS="groff -Tps"
 TROFF2PSARGS="-Z -O-.10"
 
-PATH=/usr/bin:$DVIPSPATH; export PATH
-
 case $1 in
 
 #
@@ -39,7 +36,7 @@
 # troff2ps is from psroff by Chris Lewis.
 #
 tf*)
-    if [ -x "$TROFF2PS" ]; then
+    if [ -x "/usr/bin/groff" ]; then
 	exec $TROFF2PS $TROFF2PSARGS
     else
 	echo "$0: filter troff2ps uninstalled" 1>&2