summaryrefslogtreecommitdiff
path: root/textproc/troffcvt/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/troffcvt/patches/patch-ad')
-rw-r--r--textproc/troffcvt/patches/patch-ad56
1 files changed, 56 insertions, 0 deletions
diff --git a/textproc/troffcvt/patches/patch-ad b/textproc/troffcvt/patches/patch-ad
new file mode 100644
index 00000000000..bd0bdef2502
--- /dev/null
+++ b/textproc/troffcvt/patches/patch-ad
@@ -0,0 +1,56 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/04/27 12:27:06 agc Exp $
+
+--- post/Makefile.orig Sun Apr 8 20:26:57 2001
++++ post/Makefile Sun Apr 8 20:29:56 2001
+@@ -381,7 +381,8 @@
+ troff2null:: troff2null.pl
+ $(RM) $@
+ echo "#!"$(PERLPATH) > $@
+- $(MSUB) troff2null.pl >> $@
++ $(CAT) troff2null.pl >> $@
++# $(MSUB) troff2null.pl >> $@
+ $(CHMOD) a+x $@
+
+ clean::
+@@ -432,7 +433,8 @@
+ tc2html-toc:: tc2html-toc.pl
+ $(RM) $@
+ echo "#!"$(PERLPATH) > $@
+- $(MSUB) tc2html-toc.pl >> $@
++ $(CAT) tc2html-toc.pl >> $@
++# $(MSUB) tc2html-toc.pl >> $@
+ $(CHMOD) a+x $@
+
+ clean::
+@@ -454,7 +456,10 @@
+ troff2html:: troff2html.pl
+ $(RM) $@
+ echo "#!"$(PERLPATH) > $@
+- $(MSUB) troff2html.pl >> $@
++ $(SED) <troff2html.pl >> $@ \
++ -e "s|\$$(TMPDIR)|$(TMPDIR)|" \
++ -e "s|\$$(RM)|$(RM)|"
++# $(MSUB) troff2html.pl >> $@
+ $(CHMOD) a+x $@
+
+ clean::
+@@ -523,7 +528,8 @@
+ troff2rtf:: troff2rtf.pl
+ $(RM) $@
+ echo "#!"$(PERLPATH) > $@
+- $(MSUB) troff2rtf.pl >> $@
++ $(CAT) troff2rtf.pl >> $@
++# $(MSUB) troff2rtf.pl >> $@
+ $(CHMOD) a+x $@
+
+ clean::
+@@ -619,7 +625,8 @@
+ unroff:: unroff.pl
+ $(RM) $@
+ echo "#!"$(PERLPATH) > $@
+- $(MSUB) unroff.pl >> $@
++ $(CAT) unroff.pl >> $@
++# $(MSUB) unroff.pl >> $@
+ $(CHMOD) a+x $@
+
+ clean::