summaryrefslogtreecommitdiff
path: root/converters/txt2html/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'converters/txt2html/patches/patch-aa')
-rw-r--r--converters/txt2html/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/converters/txt2html/patches/patch-aa b/converters/txt2html/patches/patch-aa
new file mode 100644
index 00000000000..2f440fbda8d
--- /dev/null
+++ b/converters/txt2html/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/20 14:53:08 wennmach Exp $
+
+Adopt to pkgsrc path conventions.
+
+--- txt2html.pl.orig Fri Oct 20 15:28:58 2000
++++ txt2html.pl Fri Oct 20 15:32:10 2000
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!@PREFIX@/bin/perl
+ #
+ # txt2html.pl
+ # Convert raw text to something with a little HTML formatting
+@@ -222,7 +222,7 @@
+ # 2: The code that will make the links
+ # 4: When each rule matches something
+
+-$system_link_dict = "/usr/local/lib/txt2html.dict"; # after options
++$system_link_dict = "@PREFIX@/share/txt2html/txt2html.dict"; # after options
+ $default_link_dict = "$ENV{'HOME'}/.txt2html.dict"; # before options
+
+ # [-pm/+pm ] | [--preformat-marker / --nopreformat-marker ]