--- cvsroot/Coro/Makefile.PL 2003/03/22 18:50:31 1.14 +++ cvsroot/Coro/Makefile.PL 2007/04/13 03:57:15 1.29 @@ -5,20 +5,29 @@ *** *** WARNING: This module is quite low-level and uses undocumented perl -*** internals to do it's job. While it seems to work fine with perl-5.8, -*** 5.7 and 5.6, it has not been tested with older versions. If it -*** compiles and passes the testsuite, it should work. Otherwise you -*** should either upgrade or fix it ;) +*** internals to do it's job. While it seems to work fine with perl-5.[6-9] +*** it has not been tested with older versions. If it compiles and passes the +*** testsuite, it should work. Otherwise you should either upgrade or fix it ;) *** -*** Marc Lehmann +*** Marc Lehmann *** EOF } if (eval { require Event }) { - if ($Event::VERSION < 0.86) { - print "*** Please read the INSTALL file, you need a patched Event.\n"; + if ($Event::VERSION < 0.86 or $Event::VERSION == 0.88) { + print < { PREOP => 'pod2text Coro.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', @@ -40,8 +48,14 @@ VERSION_FROM => "Coro.pm", DIR => ['Coro', ($EVENT ? 'Event' : ())], PREREQ_PM => { - Event => 0.86, Scalar::Util => 0.00, + + # for Coro::Event + Event => 1.06, + + # for Coro::AIO, Coro::Util + IO::AIO => 2.3, + AnyEvent => 2.51, }, PM => { 'Coro.pm' => '$(INST_LIBDIR)/Coro.pm', @@ -51,7 +65,7 @@ 'Coro/MakeMaker.pm' => '$(INST_LIBDIR)/Coro/MakeMaker.pm', 'Coro/CoroAPI.h' => '$(INST_LIBDIR)/Coro/CoroAPI.h', - 'Coro/Cont.pm' => '$(INST_LIBDIR)/Coro/Cont.pm', +# 'Coro/Cont.pm' => '$(INST_LIBDIR)/Coro/Cont.pm', 'Coro/Specific.pm' => '$(INST_LIBDIR)/Coro/Specific.pm', @@ -61,13 +75,15 @@ 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm', 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm', 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm', - $EVENT ? ( - 'Event/Event.pm' => '$(INST_LIBDIR)/Coro/Event.pm', - 'Event/Handle.pm'=> '$(INST_LIBDIR)/Coro/Handle.pm', - 'Event/Socket.pm'=> '$(INST_LIBDIR)/Coro/Socket.pm', - 'Event/Util.pm' => '$(INST_LIBDIR)/Coro/Util.pm', - 'Event/Select.pm'=> '$(INST_LIBDIR)/Coro/Select.pm', - ) : (), + + 'Coro/Util.pm' => '$(INST_LIBDIR)/Coro/Util.pm', + 'Coro/Select.pm' => '$(INST_LIBDIR)/Coro/Select.pm', + 'Coro/Handle.pm' => '$(INST_LIBDIR)/Coro/Handle.pm', + 'Coro/Socket.pm' => '$(INST_LIBDIR)/Coro/Socket.pm', + + 'Coro/AIO.pm' => '$(INST_LIBDIR)/Coro/AIO.pm', + 'Coro/LWP.pm' => '$(INST_LIBDIR)/Coro/LWP.pm', + 'Coro/Storable.pm' => '$(INST_LIBDIR)/Coro/Storable.pm', }, ); @@ -76,7 +92,7 @@ # set \$VERSION in all modules setver: - \$(PERL) -pi -e 's/^(\\s*\\\$\$VERSION\\s*=\\s*).*\$\$/\$\${1}\$(VERSION);/' *.pm Coro/*.pm Event/*.pm + \$(PERL) -pi -e 's/^(\\s*(our\\s*)?\\\$\$VERSION\\s*=\\s*).*\$\$/\$\${1}\$(VERSION);/' *.pm Coro/*.pm Event/*.pm EOF }