From: Aaron Crane Date: Tue, 29 Dec 2015 13:03:57 +0000 (+0000) Subject: Correctly specify test-time dependency on DBIC deployment X-Git-Tag: v0.001_003~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=466f5c3477ec4aa99532f41e30e33a32c897eeba;p=dbsrgits%2FDBIx-Class-ParameterizedJoinHack.git Correctly specify test-time dependency on DBIC deployment --- diff --git a/Makefile.PL b/Makefile.PL index d8c5042..336f54f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,11 +4,17 @@ use ExtUtils::MakeMaker; (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; +require DBIx::Class::Optional::Dependencies; + my $eumm_version = eval $ExtUtils::MakeMaker::VERSION; my %_test_req = ( 'Test::More' => 0, 'Test::Fatal' => 0, + %{ DBIx::Class::Optional::Dependencies->req_list_for('deploy') }, +); +my %_configure_req = ( + 'DBIx::Class' => '0.082820', ); my %_build_req = ( ($eumm_version < 6.63_03) ? (%_test_req) : (), @@ -24,5 +30,6 @@ WriteMakefile( LICENSE => 'perl5', TEST_REQUIRES => \%_test_req, BUILD_REQUIRES => \%_build_req, + CONFIGURE_REQUIRES => \%_configure_req, PREREQ_PM => \%_req, );