--- cvsroot/EV/Makefile.PL 2008/10/02 12:26:25 1.34 +++ cvsroot/EV/Makefile.PL 2010/11/28 06:34:10 1.48 @@ -1,5 +1,6 @@ -use 5.006; +use 5.008002; +use strict qw(vars subs); use Config; use ExtUtils::MakeMaker; @@ -36,7 +37,7 @@ POSIX optionally offers support for a monotonic clock source. EV -can take advantage of this clock source to detect time jumps +can take advantage of this clock source to detect time jumps more reliably. Unfortunately, some systems are bound to be broken, so you can disable this here: you can completely disable the detection and use of the monotonic clock by answering 'n' here. Support for this clock type @@ -45,7 +46,7 @@ EOF -$DEFINE .= " -DEV_USE_MONOTONIC=" . (0 + (prompt ("Enable optional support for CLOCK_MONOTONIC (y/n)?", "y") =~ /[yY]/)); +my $DEFINE .= " -DEV_USE_MONOTONIC=" . (0 + (prompt ("Enable optional support for CLOCK_MONOTONIC (y/n)?", "y") =~ /[yY]/)); print < 2.6) : (); +my @anyevent = eval { require AnyEvent; $AnyEvent::VERSION < 5.29 } ? (AnyEvent => 5.29) : (); WriteMakefile( dist => { @@ -245,6 +280,7 @@ LIBS => [$LIBS], PREREQ_PM => { @anyevent, + "common::sense" => 0, }, VERSION_FROM => "EV.pm", PM => { @@ -252,12 +288,12 @@ 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h', - 'libev/ev.pod' => '$(INST_LIBDIR)/EV/c_doc.pod', + 'libev/ev.pod' => '$(INST_LIBDIR)/EV/libev.pod', }, MAN3PODS => { 'EV.pm' => '$(INST_MAN3DIR)/EV.$(MAN3EXT)', 'EV/MakeMaker.pm' => '$(INST_MAN3DIR)/EV::MakeMaker.$(MAN3EXT)', - 'libev/ev.pod' => '$(INST_MAN3DIR)/EV::c_doc.$(MAN3EXT)', + 'libev/ev.pod' => '$(INST_MAN3DIR)/EV::libev.$(MAN3EXT)', }, );