diff --git a/Changes b/Changes index d8f9c76..e9747f0 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ =head1 Math::GSL Changes + - Fixed in the correct way the prove/TAP::Harness problem. + =head1 v0.29 - June 2014 - Fix issue when prove/TAP::Harness uses lib/ modules instead of blib/ ones. diff --git a/inc/GSLBuilder.pm b/inc/GSLBuilder.pm index 560393b..84f212f 100644 --- a/inc/GSLBuilder.pm +++ b/inc/GSLBuilder.pm @@ -129,16 +129,9 @@ sub process_xs_file { $self->link_c($archdir, $file_base, $obj_file); my $from = catfile(qw/pm Math GSL/, "${file_base}.pm.$ver"); - my $to1 = catfile(qw/blib lib Math GSL/, "${file_base}.pm"); - - # it seems there is a bug with DynaLoader or similar, where - # the lib module is used instead of the blib one. - # while that problem is not solved, just copy the pm to - # both places. - my $to2 = catfile(qw/lib Math GSL/, "${file_base}.pm"); - chmod 0644, $from, $to1, $to2; - copy($from, $to1); - copy($from, $to2); + my $to = catfile(qw/blib lib Math GSL/, "${file_base}.pm"); + chmod 0644, $from, $to; + copy($from, $to); } sub cmp_versions { diff --git a/lib/Math/GSL/Test.pm b/lib/Math/GSL/Test.pm index 3a5e51a..283f65f 100644 --- a/lib/Math/GSL/Test.pm +++ b/lib/Math/GSL/Test.pm @@ -1,5 +1,4 @@ package Math::GSL::Test; -use lib qw{lib blib/lib blib/arch}; use base qw(Exporter); use base qw(DynaLoader); use strict;