--- AnyEvent/Makefile.PL 2009/07/02 23:22:35 1.20 +++ AnyEvent/Makefile.PL 2010/03/12 23:30:06 1.28 @@ -1,20 +1,22 @@ use ExtUtils::MakeMaker; -use 5.008; # AnyEvent core seems to work with 5.6 +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", + PL_FILES => { "constants.pl.PL" => "constants.pl" }, + clean => { FILES => "constants.pl" }, + PMLIBDIRS => ["lib"], META_MERGE => { recommends => { - "Net::SSLeay" => 1.33, - "JSON" => 2.09, - "JSON::XS" => 2.2, - "EV" => 3.05, - "Guard" => 1.02, + "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'; } +