summaryrefslogtreecommitdiff
path: root/japanese/mhonarc/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mhonarc/files/patch-aa')
-rw-r--r--japanese/mhonarc/files/patch-aa32
1 files changed, 32 insertions, 0 deletions
diff --git a/japanese/mhonarc/files/patch-aa b/japanese/mhonarc/files/patch-aa
new file mode 100644
index 000000000000..de9b4b27f532
--- /dev/null
+++ b/japanese/mhonarc/files/patch-aa
@@ -0,0 +1,32 @@
+--- install.me.orig Sun Nov 8 21:01:53 1998
++++ install.me Tue Mar 2 12:02:55 1999
+@@ -263,7 +263,7 @@
+ exit !$ret;
+ }
+
+- my $cfg_prefix = $Config{'prefix'};
++ my $cfg_prefix = "/usr/local";
+ $DefValues{'binpath'} = $Config{'installbin'};
+ $DefValues{'libpath'} = $Config{'installsitelib'};
+ $DefValues{'manpath'} = $Config{'installman1dir'};
+@@ -271,9 +271,9 @@
+ $DefValues{'binpath'} =~ s/^\Q$cfg_prefix/$OptValues{'prefix'}/o;
+ $DefValues{'libpath'} =~ s/^\Q$cfg_prefix/$OptValues{'prefix'}/o;
+ $DefValues{'manpath'} =~ s/^\Q$cfg_prefix/$OptValues{'prefix'}/o;
+- $DefValues{'docpath'} = join($DIRSEP, $OptValues{'prefix'}, 'doc');
++ $DefValues{'docpath'} = join($DIRSEP, $OptValues{'prefix'}, 'share/doc');
+ } else {
+- $DefValues{'docpath'} = join($DIRSEP, $cfg_prefix, 'doc');
++ $DefValues{'docpath'} = join($DIRSEP, $cfg_prefix, 'share/doc');
+ }
+ $DefValues{'manpath'} =~ s|(${DIRSEPRX}man)${DIRSEPRX}.*|$1|;
+
+@@ -294,6 +294,8 @@
+ \%Files);
+
+ $DefValues{'docpath'} .= $DIRSEP . $Files{'name'}[0]
++ if $Files{'name'}[0];
++ $DefValues{'libpath'} .= $DIRSEP . $Files{'name'}[0]
+ if $Files{'name'}[0];
+ $dobin = defined($Files{'bin'}) && scalar(@{$Files{'bin'}}) &&
+ !$OptValues{'nobin'};