ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/Makefile.PL
(Generate patch)

Comparing EV/Makefile.PL (file contents):
Revision 1.19 by root, Mon Nov 12 01:01:13 2007 UTC vs.
Revision 1.20 by root, Wed Nov 14 22:30:50 2007 UTC

1use 5.006; 1use 5.006;
2 2
3use Config; 3use Config;
4use ExtUtils::MakeMaker; 4use ExtUtils::MakeMaker;
5
6 5
7unless (-e "libev/ev_epoll.c") { 6unless (-e "libev/ev_epoll.c") {
8 print <<EOF; 7 print <<EOF;
9 8
10*** 9***
174 173
175 174
176*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 175*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
177 176
178EOF 177EOF
178
179my @anyevent = eval { require AnyEvent; $AnyEvent::VERSION < 2.6 } ? (AnyEvent => 2.6) : ();
179 180
180WriteMakefile( 181WriteMakefile(
181 dist => { 182 dist => {
182 PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 183 PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
183 COMPRESS => 'gzip -9v', 184 COMPRESS => 'gzip -9v',
190 }, 191 },
191 INC => "-Ilibev", 192 INC => "-Ilibev",
192 DEFINE => "$DEFINE", 193 DEFINE => "$DEFINE",
193 NAME => "EV", 194 NAME => "EV",
194 LIBS => [$LIBS], 195 LIBS => [$LIBS],
196 PREREQ_PM => {
197 @anyevent,
198 },
195 VERSION_FROM => "EV.pm", 199 VERSION_FROM => "EV.pm",
196 PM => { 200 PM => {
197 'EV.pm' => '$(INST_LIBDIR)/EV.pm', 201 'EV.pm' => '$(INST_LIBDIR)/EV.pm',
198 'EV/DNS.pm' => '$(INST_LIBDIR)/EV/DNS.pm', 202 'EV/DNS.pm' => '$(INST_LIBDIR)/EV/DNS.pm',
199 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', 203 'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h',

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines