X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=34baa98011d0b7a881c6657bc12e702700c52771;hb=f832e2407333be0791e31fd01b37cc014dc0e4ee;hp=f7dd8168cdef22bb429fd13bb0c0bcbf1a2ffb37;hpb=a91e8a786f170167e8350ed6d0864ebf3606cec6;p=p5sagit%2FDevel-GlobalDestruction.git diff --git a/Makefile.PL b/Makefile.PL index f7dd816..34baa98 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,17 +1,20 @@ #!/usr/bin/perl -w use strict; +require 5.006000; use ExtUtils::MakeMaker; WriteMakefile( - NAME => 'Devel::GlobalDestruction', - VERSION_FROM => 'lib/Devel/GlobalDestruction.pm', - INSTALLDIRS => 'site', - SIGN => 1, - PL_FILES => { }, - PREREQ_PM => { - 'Test::use::ok' => 0, - }, + NAME => 'Devel::GlobalDestruction', + VERSION_FROM => 'lib/Devel/GlobalDestruction.pm', + INSTALLDIRS => 'site', + SIGN => 1, + PL_FILES => { }, + MIN_PERL_VERSION => '5.006000', + PREREQ_PM => { + 'Sub::Exporter' => 0, + }, + (defined ${^GLOBAL_PHASE} ? (XS => {}, C => []) : ()), );