use strict;
use warnings;
-require 5.008001;
+require 5.006;
use ExtUtils::MakeMaker;
BEGIN { if ( $^O eq 'cygwin' ) {
my %META_BITS = (
);
my %RUN_DEPS = (
- 'Sub::Exporter::Progressive' => 0.001002,
+ 'Sub::Exporter::Progressive' => '0.001006',
( (defined ${^GLOBAL_PHASE} or !can_xs() )
? ()
: ('Devel::GlobalDestruction::XS' => 0)
LICENSE => 'perl',
INSTALLDIRS => 'site',
PL_FILES => { },
- MIN_PERL_VERSION => '5.008001',
+ MIN_PERL_VERSION => '5.006',
PREREQ_PM => \%RUN_DEPS,
CONFIGURE_REQUIRES => { 'ExtUtils::CBuilder' => 0.27 },
META_ADD => {
}
}
+if (eval { require Devel::GlobalDestruction }
+ && Devel::GlobalDestruction->VERSION < 0.10) {
+ package MY;
+ no warnings 'once';
+
+ *install = sub {
+ my $self = shift;
+ return '
+pure_site_install ::
+ $(NOECHO) $(RM_F) ' . $self->quote_literal(
+ $self->catfile('$(DESTINSTALLSITEARCH)', 'Devel', 'GlobalDestruction.pm')
+ ) . "\n" . $self->SUPER::install;
+ };
+}
+
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION('6.52') };