Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26851/lib/Module/Build
Modified Files:
Base.pm
Log Message:
We need to honor $Config{installstyle} when install_base is used otherwise perl can't find the installed libraries.
Index: Base.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v
retrieving revision 1.489
retrieving revision 1.490
diff -u -d -r1.489 -r1.490
--- Base.pm 30 Sep 2005 01:09:53 -0000 1.489
+++ Base.pm 3 Oct 2005 05:03:24 -0000 1.490
@@ -182,6 +182,7 @@
my @libstyle = $c->{installstyle} ?
File::Spec->splitdir($c->{installstyle}) : qw(lib perl5);
+
my $arch = $c->{archname};
my $version = $c->{version};
@@ -235,8 +236,8 @@
$p->{install_base_relpaths} =
{
- lib => ['lib', 'perl5'],
- arch => ['lib', 'perl5', $arch],
+ lib => [@libstyle],
+ arch => [@libstyle, $arch],
bin => ['bin'],
script => ['bin'],
bindoc => ['man', 'man1'],
|