X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=a919ccc6199784d80e105cabd792d91e61e29204;hb=4146e3dae3771b13b83eb1ba124ba74287f83dcd;hp=a741a69a34f253b39b3b55055a1370b39984f1b9;hpb=c1124f1989c22df397a89045734e2876d15c395c;p=dbsrgits%2FDBIx-Class.git diff --git a/Build.PL b/Build.PL index a741a69..a919ccc 100644 --- a/Build.PL +++ b/Build.PL @@ -1,30 +1,3 @@ -use strict; -use Module::Build; - -my %arguments = ( - create_makefile_pl => 'passthrough', - license => 'perl', - module_name => 'DBIx::Class', - requires => { - 'Data::Page' => 0, - 'DBI' => 0, - 'UNIVERSAL::require' => 0, - 'NEXT' => 0, - 'Scalar::Util' => 0, - 'SQL::Abstract' => 1.20, - 'SQL::Abstract::Limit' => 0.101, - 'DBD::SQLite' => 1.08, - 'Tie::IxHash' => 0, - 'Storable' => 0, - 'Module::Find' => 0, - }, - recommends => { - 'Data::UUID' => 0, - }, - create_makefile_pl => 'passthrough', - create_readme => 1, - test_files => [ glob('t/*.t'), glob('t/*/*.t') ] -); - -Module::Build->new(%arguments)->create_build_script; - +# Dear Distribution Packager. This use of require is intentional. +# Module::Install detects Build.PL usage and acts accordingly. +require 'Makefile.PL';