diff -Nru BSDPAN-5.12.1_20100713.orig/ExtUtils/MakeMaker.pm BSDPAN-5.12.1_20100713/ExtUtils/MakeMaker.pm --- BSDPAN-5.12.1_20100713.orig/ExtUtils/MakeMaker.pm 2010-04-22 16:49:02.000000000 +0000 +++ BSDPAN-5.12.1_20100713/ExtUtils/MakeMaker.pm 2011-10-29 18:50:52.868462011 +0000 @@ -17,6 +17,8 @@ use BSDPAN::Override; use File::Basename; +our $VERSION = $ExtUtils::MakeMaker::VERSION; + sub WriteMakefile { my $orig = shift; diff -Nru BSDPAN-5.12.1_20100713.orig/ExtUtils/Packlist.pm BSDPAN-5.12.1_20100713/ExtUtils/Packlist.pm --- BSDPAN-5.12.1_20100713.orig/ExtUtils/Packlist.pm 2010-07-13 15:59:07.000000000 +0000 +++ BSDPAN-5.12.1_20100713/ExtUtils/Packlist.pm 2011-10-28 13:55:55.061443875 +0000 @@ -214,6 +214,7 @@ while (-d $file) { $file =~ s|/([^/]+)$||; my $last = $1; + last if $file =~ /^\.\.?$/; last if $last eq "bin"; last if $last eq "auto"; last if $last eq "man1";