X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=52a9d4043f2cb71d7aa89b325e7b0a8cd4c6cec2;hb=515346d5652e6f39bd6329463e4b0245d5368902;hp=2ad090a00e7f5c539acc3d40960bf391acfcd551;hpb=c8ceeb51af329d67e6e22c8158240d123212143f;p=perl%2Fmodules%2FScope-Upper.git diff --git a/Makefile.PL b/Makefile.PL index 2ad090a..52a9d40 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use 5.006; +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"; @@ -78,7 +87,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", @@ -95,7 +104,7 @@ WriteMakefile( @DEFINES, BUILD_REQUIRES => \%BUILD_REQUIRES, PREREQ_PM => \%PREREQ_PM, - MIN_PERL_VERSION => '5.006', + MIN_PERL_VERSION => '5.006001', META_MERGE => \%META, dist => { PREOP => "pod2text -u $file > \$(DISTVNAME)/README",