--- AnyEvent/Makefile.PL 2009/07/18 05:47:44 1.23 +++ AnyEvent/Makefile.PL 2010/03/12 23:30:06 1.28 @@ -1,6 +1,6 @@ use ExtUtils::MakeMaker; -use 5.008; # AnyEvent perl event loop seems to work with 5.6, other modules not +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, @@ -37,18 +40,18 @@ "JSON::XS" => 2.2, "EV" => 3.05, "Guard" => 1.02, - "Async::Interrupt" => 0.6, + "Async::Interrupt" => 1.0, } }, ); -sub MY::postamble { - <SUPER::init_PM; + $self->{PM}{"constants.pl"} = '$(INST_LIB)/AnyEvent/constants.pl'; } +