X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=a872582be71c84f2e053b7ae6ffe8a5efbd6dd85;hb=e347ce3fe9e40dc060e73e07f282729f4191c878;hp=9f3a2855c0ebad7f0745ca05211f63fbe3c3746b;hpb=8a9fe0866c58fc3e8d2fd9e78d4990da3fb3a5d2;p=gitmo%2FClass-MOP.git diff --git a/Makefile.PL b/Makefile.PL index 9f3a285..a872582 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,8 @@ perl_version '5.008001'; all_from 'lib/Class/MOP.pm'; license 'perl'; -my $ccflags = ' -I.'; +require Config; +my $ccflags = ( $Config::Config{ccflags} || '' ) . ' -I.'; $ccflags .= ' -Wall' if -d '.svn' || -d '.git' || $ENV{MAINTAINER_MODE}; requires 'Carp'; @@ -21,8 +22,10 @@ requires 'Sub::Name' => '0.04'; requires 'Task::Weaken'; test_requires 'File::Spec'; -test_requires 'Test::More' => '0.77'; -test_requires 'Test::Exception' => '0.21'; +test_requires 'Test::More' => '0.88'; +test_requires 'Test::Exception' => '0.27'; + +extra_tests(); makemaker_args( CCFLAGS => $ccflags ); @@ -62,7 +65,7 @@ WriteAll(); # before a release. sub check_conflicts { my %conflicts = ( - 'Moose' => '0.71', + 'Moose' => '0.85', ); my $found = 0;