Commit | Line | Data |
4a032d4f |
1 | use strict; |
2 | use warnings FATAL => 'all'; |
3 | use ExtUtils::MakeMaker; |
4 | |
5 | (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; |
6 | |
7 | my $eumm_version = eval $ExtUtils::MakeMaker::VERSION; |
8 | |
9 | my %_test_req = ( |
10 | 'Test::More' => 0, |
c9dfb2d6 |
11 | 'Test::Fatal' => 0, |
4a032d4f |
12 | ); |
13 | my %_build_req = ( |
14 | ($eumm_version < 6.63_03) ? (%_test_req) : (), |
15 | ); |
16 | my %_req = ( |
17 | ($eumm_version < 6.55_01) ? (%_build_req) : (), |
18 | 'DBIx::Class' => 0, |
19 | ); |
20 | |
21 | WriteMakefile( |
22 | NAME => 'DBIx::Class::ParameterizedJoinHack', |
23 | VERSION_FROM => 'lib/DBIx/Class/ParameterizedJoinHack.pm', |
24 | LICENSE => 'perl5', |
25 | TEST_REQUIRES => \%_test_req, |
26 | BUILD_REQUIRES => \%_build_req, |
27 | PREREQ_PM => \%_req, |
28 | ); |