]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - Makefile.PL
Update the ActivePerl/gcc-3.4 hack for EUMM 7.04
[perl/modules/Scope-Upper.git] / Makefile.PL
index 905fa9f73e9ca589849e414059632ac3fa35b7a1..52a9d4043f2cb71d7aa89b325e7b0a8cd4c6cec2 100644 (file)
@@ -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<bin sitebin>};
   $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",