summaryrefslogtreecommitdiff
path: root/textproc/troffcvt/patches/patch-ab
blob: 795fb9a58e38b3554c09683a22fe3bf071beac04 (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
31
32
33
$NetBSD: patch-ab,v 1.2 2003/03/21 20:04:25 jmmv Exp $

--- troffcvt/Makefile.orig	Fri May 23 12:28:06 1997
+++ troffcvt/Makefile
@@ -41,8 +41,8 @@
 
            LIBDIR = $(LOCALUSRLIBDIR)/troffcvt
        PROJLIBDIR = $(LIBDIR)
-      MACROLIBDIR = $(USRLIBDIR)/tmac
-  MACROFILEPREFIX =
+      MACROLIBDIR = /usr/share/tmac
+  MACROFILEPREFIX = tmac.
 
          STRING_H = <string.h>
  STRING_H_DEFINES = -D'STRING_H=$(STRING_H)'
@@ -469,7 +469,8 @@
 runtest:: runtest.pl
 	$(RM) $@
 	echo "#!"$(PERLPATH) > $@
-	$(MSUB) runtest.pl >> $@
+	$(SED) <runtest.pl >> $@ 's/\$$(CMP)/$(CMP)/'
+#	$(MSUB) runtest.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::
@@ -537,7 +538,6 @@
 
 main.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
 main.o: /usr/include/ctype.h /usr/include/sys/types.h
-main.o: /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h
 main.o: /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h
 main.o: /usr/include/string.h /usr/local/include/portlib.h
 main.o: /usr/local/include/etm.h /usr/local/include/memmgr.h .././h/tcgen.h