From: Peter Rabbitson Date: Wed, 3 Aug 2011 21:46:15 +0000 (+0200) Subject: Build correct meta, not including B::H::EOS X-Git-Tag: 0.21~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e9083012c0eeba2bcda808b317be999971b87d3;p=p5sagit%2Fnamespace-clean.git Build correct meta, not including B::H::EOS --- diff --git a/Makefile.PL b/Makefile.PL index 561b372..d1a2d0c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,12 +13,13 @@ my %BUILD_DEPS = ( my %RUN_DEPS = ( 'Package::Stash' => '0.23', - can_cc() ? ( - 'B::Hooks::EndOfScope' => '0.07', # when changing, also change version in namespace/clean.pm - is_smoker() ? ( 'Devel::Hide' => 0 ) : (), # make sure we smoke the pure-perl version - ) : (), ); +my %OPT_RUN_DEPS = (can_cc() ? ( + 'B::Hooks::EndOfScope' => '0.07', # when changing, also change version in namespace/clean.pm + is_smoker() ? ( 'Devel::Hide' => 0 ) : (), # make sure we smoke the pure-perl version +) : () ); + my %META_BITS = ( resources => { homepage => 'http://search.cpan.org/dist/namespace-clean', @@ -46,7 +47,7 @@ my %WriteMakefileArgs = ( 'AUTHOR' => 'Robert \'phaylon\' Sedlacek , Florian Ragwitz , Jesse Luehrs ', 'PREREQ_PM' => { - %RUN_DEPS, + %RUN_DEPS, %OPT_RUN_DEPS, $mymeta_works ? () : (%BUILD_DEPS), },