Permalink
Browse files

fix Makefile.PL

  • Loading branch information...
1 parent 369ad18 commit bf1b552303196547d67daf5e17463e80fa5348c6 @clkao committed Aug 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile.PL
View
4 Makefile.PL
@@ -16,22 +16,22 @@ requires 'HTTP::Request::Common';
requires 'LWP::Simple';
eval 'require Moose; 1';
-if ($@ || -d 'inc/.author') {
+if (($@ || -d 'inc/.author') && ($ENV{ANY_MOOSE} || '') ne 'Moose') {
requires 'MouseX::NativeTraits'; # XXX: there's nativetraits are builtin for moose
requires_any_moose 'X::Traits';
requires_any_moose 'X::Types::DateTime';
}
else {
requires 'Any::Moose';
+ requires 'Moose';
requires 'MooseX::Traits';
requires 'MooseX::Types::DateTime';
}
install_share 'share';
install_script glob('bin/*');
-auto_include_deps;
author_tests('xt');
auto_set_repository;
WriteAll;

0 comments on commit bf1b552

Please sign in to comment.