X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=6662c948ccd2b28567a2799320abe16dc2b0f73f;hb=97dc8ef80311dba0ff5058c2ee54caa8193b5c51;hp=905fa9f73e9ca589849e414059632ac3fa35b7a1;hpb=832f6a4eae21bec85e1cb1043fbc41fcf59cbfcd;p=perl%2Fmodules%2FScope-Upper.git diff --git a/Makefile.PL b/Makefile.PL index 905fa9f..6662c94 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use 5.006001; +use 5.006_001; use strict; use warnings; @@ -35,7 +35,16 @@ if ($^O eq 'MSWin32' and not grep /^LD[A-Z]*=/, @ARGV) { @Config{qw}; $macro{LDDLFLAGS} = "$lddlflags $libdirs $libperl"; $macro{LDFLAGS} = "$ldflags $libdirs $libperl"; - $macro{PERL_ARCHIVE} = '', + eval <<' MY_SECTION'; + package MY; + sub dynamic_lib { + my $self = shift; + my $inherited = $self->SUPER::dynamic_lib(@_); + $inherited =~ s/"?\$\(PERL_ARCHIVE\)"?//g; + return $inherited; + } + MY_SECTION + die $@ if $@; } } print $is_gcc_34 ? "yes\n" : "no\n"; @@ -64,6 +73,7 @@ my %PREREQ_PM = ( my %BUILD_REQUIRES = ( 'ExtUtils::MakeMaker' => 0, 'Config' => 0, + 'POSIX' => 0, 'Test::More' => 0, %PREREQ_PM, ); @@ -78,7 +88,7 @@ my %META = ( }, dynamic_config => 1, resources => { - bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist", + bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist", homepage => "http://search.cpan.org/dist/$dist/", license => 'http://dev.perl.org/licenses/', repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",