--- AnyEvent/Makefile.PL 2008/05/30 21:38:46 1.14 +++ AnyEvent/Makefile.PL 2010/02/21 09:28:18 1.27 @@ -1,20 +1,22 @@ use ExtUtils::MakeMaker; -use 5.008; +use 5.008001; # AnyEvent perl event loop seems to work with 5.6, other modules not print < { TESTS => "t/*.t t/handle/*.t" }, NAME => "AnyEvent", VERSION_FROM => "lib/AnyEvent.pm", - EXTRA_META => q{ -recommends: - Net::SSLeay: 1.32 - JSON: 2.09 - JSON::XS 2.2 - EV: 4.05 + PL_FILES => { "constants.pl.PL" => "constants.pl" }, + clean => { FILES => "constans.pl.pm" }, + PMLIBDIRS => ["lib"], + META_MERGE => { + recommends => { + "Net::SSLeay" => 1.33, + "JSON" => 2.09, + "JSON::XS" => 2.2, + "EV" => 3.05, + "Guard" => 1.02, + "Async::Interrupt" => 1.0, + } }, ); -sub MY::postamble { - <SUPER::init_PM; + $self->{PM}{"constants.pl"} = '$(INST_LIB)/AnyEvent/constants.pl'; } +