add travis config
[p5sagit/Devel-GlobalDestruction.git] / Makefile.PL
index e62347b..c96b972 100644 (file)
@@ -3,6 +3,7 @@ use warnings FATAL => 'all';
 use 5.006;
 use lib 'inc';
 use ExtUtils::HasCompiler qw(can_compile_loadable_object);
+use ExtUtils::MakeMaker;
 
 my %META = (
   name => 'Devel-GlobalDestruction',
@@ -10,7 +11,6 @@ my %META = (
   prereqs => {
     configure => { requires => {
       'ExtUtils::MakeMaker'   => 0,
-      'ExtUtils::CBuilder'    => 0.27,
     } },
     runtime => {
       requires => {
@@ -76,7 +76,7 @@ pure_site_install ::
 
 ## BOILERPLATE ###############################################################
 require ExtUtils::MakeMaker;
-(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+(do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
 # have to do this since old EUMM dev releases miss the eval $VERSION line
 my $eumm_version  = eval $ExtUtils::MakeMaker::VERSION;