X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;fp=Makefile.PL;h=edf930b2ddfd6d2bc4524eeca83eb5fe3da697f8;hb=8527ca627b6872946c372b2e728e5c1d0d5b4b51;hp=e3b05bec87ce833d66b0c0d88b385212ffa94e44;hpb=57f304f79b64d807c7b34fea456efb7018722999;p=catagits%2FCatalyst-Devel.git diff --git a/Makefile.PL b/Makefile.PL index e3b05be..edf930b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -21,8 +21,11 @@ requires 'File::ChangeNotify' => '0.07'; requires 'File::Copy::Recursive'; requires 'Path::Class' => '0.09'; requires 'Template' => '2.14'; -requires 'MooseX::Daemonize'; # Optional in scripts -requires 'Starman'; # Optional in scripts + +if (!$Module::Install::AUTHOR && $^O ne 'MSWin32') { + requires 'MooseX::Daemonize'; # Optional in scripts + requires 'Starman'; # Optional in scripts +} # The Catalyst applications this module distribution have a Makefile.PL using # Module::Install as well as the Module::Install::Catalyst extension included in @@ -42,13 +45,6 @@ install_share 'share'; author_tests 't/author'; -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;