Subject: | XSLoader.pm installed in wrong dir |
In core Perl, XSLoader.pm is installed under $Config{installarchlib}.
However, the CPAN version gets installed under $Config{installprivlib}.
Because architecture-based libs are searched first, this actually
prevents the new version from being used! (My rationale for 'critical'.)
The attached patch corrects this problem so that XSLoader.pm is
installed in the same location as in core Perl.
Subject: | xsloader.patch |
diff -urN XSLoader-0.07/Makefile.PL XSLoader-patched/Makefile.PL
--- XSLoader-0.07/Makefile.PL 2006-10-12 19:34:10.000000000 -0400
+++ XSLoader-patched/Makefile.PL 2006-10-16 14:35:30.000000000 -0400
@@ -34,7 +34,7 @@
ABSTRACT_FROM => 'XSLoader_pm.PL',
INSTALLDIRS => 'perl',
PL_FILES => { 'XSLoader_pm.PL' => 'XSLoader.pm' },
- PM => { 'XSLoader.pm' => '$(INST_LIBDIR)/XSLoader.pm' },
+ PM => { 'XSLoader.pm' => '$(INST_ARCHLIB)/XSLoader.pm' },
PREREQ_PM => {
'Test::More' => '0.62',
},