Subject: | site and vendor man dirs in 5.8.1-RC1 to RC3 |
Perls 5.8.1-RC1 to RC3 have a buglet; they define eg installsiteman3, not installsiteman3dir. Ditto for man1 and vendor man dirs. Red Hat 9 has the offending patch (see below) applied :( Witness:
$ perl -V:* | grep -P '^install.*man'
installman1dir='/usr/share/man/man1'
installman3dir='/usr/share/man/man3'
installsiteman1='/usr/share/man/man1'
installsiteman3='/usr/share/man/man3'
installvendorman1='/usr/share/man/man1'
installvendorman3='/usr/share/man/man3'
The offending patch (I believe):
http://public.activestate.com/cgi-bin/perlbrowse?patch=18110
It seems to be fixed in 5.8.1-RC4.
By coincidence, RH9 has installman3dir set to the same as installvendorsite3(dir) so people won't get bitten there. But it may cause sneaky breakage elsewhere. The attached patch should fix it.
--- lib/Module/Build/Base.pm~ 2003-08-26 21:49:15.000000000 +0300
+++ lib/Module/Build/Base.pm 2003-09-03 02:37:11.000000000 +0300
@@ -121,16 +121,16 @@
arch => $c->{installsitearch},
bin => $c->{installsitebin} || $c->{installbin},
script => $c->{installsitescript} || $c->{installsitebin} || $c->{installscript},
- bindoc => $c->{installsiteman1dir} || $c->{installman1dir},
- libdoc => $c->{installsiteman3dir} || $c->{installman3dir},
+ bindoc => $c->{installsiteman1dir} || $c->{installsiteman1} || $c->{installman1dir},
+ libdoc => $c->{installsiteman3dir} || $c->{installsiteman3} || $c->{installman3dir},
},
vendor => {
lib => $c->{installvendorlib},
arch => $c->{installvendorarch},
bin => $c->{installvendorbin} || $c->{installbin},
script => $c->{installvendorscript} || $c->{installvendorbin} || $c->{installscript},
- bindoc => $c->{installvendorman1dir} || $c->{installman1dir},
- libdoc => $c->{installvendorman3dir} || $c->{installman3dir},
+ bindoc => $c->{installvendorman1dir} || $c->{installvendorman1} || $c->{installman1dir},
+ libdoc => $c->{installvendorman3dir} || $c->{installvendorman3} || $c->{installman3dir},
},
};
}