--- cvsroot/EV/Makefile.PL 2007/11/01 09:05:32 1.11 +++ cvsroot/EV/Makefile.PL 2007/11/02 11:11:05 1.14 @@ -36,14 +36,12 @@ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** -POSIX optionally offers support for a monotonic clock source. EV can -take advantage of this clock source to detect time jumps reliably. This -will usually slow down EV a tiny amount, but this is usually -well-invested. Unfortunately, some systems are bound to be broken, so -you can disable this here. Whatever your reasons, you can completely -disable the detection and use of this monotonic clock by answering 'n' -here. Support for this clock type will otherwise be autodetected at both -compile- and runtime. +POSIX optionally offers support for a monotonic clock source. EV +can take advantage of this clock source to detect time jumps +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 +will otherwise be autodetected at both compile- and runtime. EOF @@ -105,13 +103,6 @@ EOF -#$ENV{CC} = $Config{cc}; -#$ENV{CFLAGS} = join " ", map $Config{$_}, qw(inc optimize ccflags cccdlflags); -#system "cd libevent && ./configure --disable-shared --enable-static --disable-maintainer-mode" -# and die "configure failed."; - -#$LIBS = qx; - WriteMakefile( dist => { PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', @@ -119,7 +110,9 @@ SUFFIX => '.gz', }, depend => { - "EV.c" => "EV/EVAPI.h libev/ev.c libev/ev.h libev/ev_epoll.c libev/ev_select.c", + "EV.c" => "EV/EVAPI.h " + . "libev/ev.c libev/ev.h libev/ev_epoll.c libev/ev_select.c " + . "libev/event.h libev/event.c libev/evdns.h libev/evdns.c", }, INC => "-Ilibev", DEFINE => "$DEFINE", @@ -129,7 +122,7 @@ PM => { 'EV.pm' => '$(INST_LIBDIR)/EV.pm', 'EV/AnyEvent.pm' => '$(INST_LIBDIR)/EV/AnyEvent.pm', - #'EV/DNS.pm' => '$(INST_LIBDIR)/EV/DNS.pm', + 'EV/DNS.pm' => '$(INST_LIBDIR)/EV/DNS.pm', 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', 'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', 'libev/ev.h' => '$(INST_LIBDIR)/EV/ev.h',