--- Coro/Makefile.PL 2009/07/08 02:16:49 1.57 +++ Coro/Makefile.PL 2009/08/20 21:51:26 1.62 @@ -1,5 +1,7 @@ use ExtUtils::MakeMaker; +use 5.008002; + unless (-e "Coro/libcoro/coro.c") { print < "Coro.pm", DIR => ['Coro', ($EVENT ? 'Event' : ()), ($EV ? "EV" : ())], PREREQ_PM => { + common::sense => 0, Scalar::Util => 0.00, - AnyEvent => 4.800001, + AnyEvent => 4.81, Storable => 2.15, Time::HiRes => 0, Guard => 0.5, @@ -96,7 +99,7 @@ # for Coro::AIO #IO::AIO => 2.3, - #AnyEvent::AIO => 1.0, + #AnyEvent::AIO => 1.1, # for Coro::BDB #BDB => 1.5, @@ -106,14 +109,15 @@ # for optional dependencies. whoever decided that a module needs # to build properly without its dependencies installed # needs his brain rearranged dramatically. - EXTRA_META => q{ -recommends: - Event: 1.08 - EV: 3.0 - IO::AIO: 3.1 - AnyEvent::AIO: 1.0 - BDB: 0 - AnyEvent::BDB: 1.0 + META_MERGE => { + recommends => { + Event => 1.08, + EV => 3.0, + IO::AIO => 3.1, + AnyEvent::AIO => 1.0, + BDB => 0, + AnyEvent::BDB => 1.0, + } }, PM => { 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm',