2 use warnings FATAL => 'all';
3 use ExtUtils::MakeMaker;
5 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
10 'bareword::filehandles' => 0,
16 ExtUtils::MakeMaker::parse_args(
18 Text::ParseWords::shellwords($ENV{PERL_MM_OPT} || ''),
21 return $tmp->{ARGS} || {};
25 = ! parse_args()->{PUREPERL_ONLY}
26 && eval { require ExtUtils::CBuilder; 1 }
27 && ExtUtils::CBuilder->new->have_compiler;
31 VERSION_FROM => 'lib/strictures.pm',
32 MIN_PERL_VERSION => '5.006',
35 'meta-spec' => { version => 2 },
39 # r/w: p5sagit@git.shadowcat.co.uk:strictures.git
41 url => 'git://git.shadowcat.co.uk/p5sagit/strictures.git',
42 web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git',
46 mailto => 'bug-strictures@rt.cpan.org',
47 web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=strictures',
54 'ExtUtils::CBuilder' => 0,
58 ( $] >= 5.008004 && !$have_compiler
59 ? ( recommends => \%extra_prereqs ) : () ),
64 ($] >= 5.008004 && $have_compiler
65 ? ( PREREQ_PM => \%extra_prereqs ) : () ),