X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=cf91a7eec9e27a70114eb8aee9180d62b059e4e3;hb=620dd287c46cbbf331bab2fa244db3008a46b483;hp=8d54d18de83ff1d373f30d18551271c26bc9c685;hpb=2b6385ce647af97ff0195f64a1d8619ff4667a0f;p=catagits%2FCatalyst-Devel.git diff --git a/Makefile.PL b/Makefile.PL index 8d54d18..cf91a7e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,10 @@ use inc::Module::Install 0.87; name 'Catalyst-Devel'; all_from 'lib/Catalyst/Devel.pm'; +requires 'Moose'; +requires 'namespace::autoclean'; +requires 'MooseX::Types'; +requires 'File::ShareDir'; requires 'Catalyst' => '5.8000'; requires 'Catalyst::Action::RenderView' => '0.04'; requires 'Catalyst::Plugin::Static::Simple' => '0.16'; @@ -16,6 +20,15 @@ requires 'parent'; # as of 1.04 requires 'Path::Class' => '0.09'; requires 'Template' => '2.14'; +install_share 'share'; + +if ( $^O eq 'MSWin32' ) { + # Proc::Background needs this on Win32 but doesn't actually + # require it, if it's missing it just dies in the Makefile.PL. + requires 'Win32::Process' => '0.04'; + requires 'Proc::Background'; +} + if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { use Symbol 'gensym'; use IPC::Open3; @@ -23,7 +36,7 @@ if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { open NULL, '>', File::Spec->devnull; my $err = gensym; my $pid = open3(gensym, '&>NULL', $err, "$^X -It/lib -MUnknownError -e 1"); - + my $unknown_error = 0; while (<$err>) { @@ -37,7 +50,7 @@ if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { ############################### WARNING ################################# # # # You are using perl 5.10.0 with the "Unknown error" bug. This can make # -# developing Catalyst applications much more painful, as it will come # +# developing Catalyst applications much more painful, as it will come # # up with no details every time you have a syntax error in a Controller.# # # # For more information see: #