summaryrefslogtreecommitdiff
path: root/www/bkmrkconv/files/patch-bkmrkconv.pl
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:49:46 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:49:46 +0000
commit5fef74e277a1a8631418cc86635c091fcc79d099 (patch)
tree1f91b768812d879efc689dc94c0aa53e7c1ba2fa /www/bkmrkconv/files/patch-bkmrkconv.pl
parent- Add LICENSE (diff)
Rename www/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'www/bkmrkconv/files/patch-bkmrkconv.pl')
-rw-r--r--www/bkmrkconv/files/patch-bkmrkconv.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/bkmrkconv/files/patch-bkmrkconv.pl b/www/bkmrkconv/files/patch-bkmrkconv.pl
new file mode 100644
index 000000000000..a87eb493af14
--- /dev/null
+++ b/www/bkmrkconv/files/patch-bkmrkconv.pl
@@ -0,0 +1,16 @@
+--- bkmrkconv.pl.orig Thu Sep 21 00:21:54 2000
++++ bkmrkconv.pl Wed Mar 7 05:37:20 2001
+@@ -70,9 +70,10 @@
+
+ chomp(my $oldcwd = `pwd`);
+ chdir $outputDir;
+-my $rootpage = &readFile("src/rootpage.html");
+-my $linkspage = &readFile("src/linkspage.html");
+-my $contentspage = &readFile("src/contentspage.html") if ($doContents);
++my $shareDir = '%%PREFIX%%/share/bkmrkconv';
++my $rootpage = &readFile("$shareDir/src/rootpage.html");
++my $linkspage = &readFile("$shareDir/src/linkspage.html");
++my $contentspage = &readFile("$shareDir/src/contentspage.html") if ($doContents);
+ chdir $oldcwd;
+
+ my %root;