Subject: | B::Lint is installed in the wrong location |
Hello,
It seems that B::Lint suffers from the same problem that Jerry Hedden
reported to me about XSLoader: it is installed in the wrong location
(see CPAN-RT#)22130. As it is a dual life module, it must replace the
core version even when installed from the CPAN shell, otherwise both
versions are on disk but only the old one in core is used:
$ perl -MV=B::Lint
B::Lint
/usr/lib/perl5/5.8.7/x86_64-linux/B/Lint.pm: 1.03
/usr/lib/perl5/site_perl/5.8.7/B/Lint.pm: 1.09
The attached patch seems to fix this problem.
Regards
--
Close the world, txEn eht nepO.
Subject: | B-Lint-1.09-install.diff |
diff -u B-Lint-1.09-orig/Makefile.PL B-Lint-1.09/Makefile.PL
--- B-Lint-1.09-orig/Makefile.PL 2007-03-19 07:31:56.000000000 +0100
+++ B-Lint-1.09/Makefile.PL 2007-04-11 09:41:18.964128300 +0200
@@ -5,6 +5,11 @@
AUTHOR => 'Joshua ben Jore <jjore@cpan.org>',
VERSION_FROM => 'lib/B/Lint.pm',
ABSTRACT_FROM => 'lib/B/Lint.pm',
+ INSTALLDIRS => 'perl',
+ PM => {
+ 'lib/B/Lint.pm' => '$(INST_ARCHLIB)/B/Lint.pm',
+ 'lib/B/Lint/Debug.pm' => '$(INST_ARCHLIB)/B/Lint/Debug.pm',
+ },
PREREQ_PM => { 'Test::More' => 0, 'Module::Pluggable' => 0 },
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'B-Lint-*' },