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

Comparing cvsroot/Coro/Makefile.PL (file contents):
Revision 1.14 by root, Sat Mar 22 18:50:31 2003 UTC vs.
Revision 1.16 by pcg, Thu May 13 16:12:14 2004 UTC

17} 17}
18 18
19if (eval { require Event }) { 19if (eval { require Event }) {
20 if ($Event::VERSION < 0.86) { 20 if ($Event::VERSION < 0.86) {
21 print "*** Please read the INSTALL file, you need a patched Event.\n"; 21 print "*** Please read the INSTALL file, you need a patched Event.\n";
22 } elsif ($Event::VERSION == 0.88) {
23 print <<EOF
24
25***
26*** WARNING: Event version $Event::VERSION found, NOT building Event support.
27***
28*** This version of Event is broken. The only currently known non-broken
29*** version of Event is 0.87. Please install this version, or try with a
30*** newer version that hopefully has the bug fixed.
31***
32
33EOF
22 } else { 34 } else {
23 $EVENT = 1; 35 $EVENT = 1;
24 $DEFINE .= " -DHAVE_EVENT=1"; 36 $DEFINE .= " -DHAVE_EVENT=1";
25 print "\nEvent version $Event::VERSION found, building Event support.\n\n"; 37 print "\nEvent version $Event::VERSION found, building Event support.\n\n";
26 } 38 }
27 print "\n"; 39 print "\n";
28} else { 40} else {
29 print "\n*** Event not found, not build Event support.\n\n"; 41 print "\n*** Event not found, not build Event support.\n\n";
30} 42}
31
32 43
33WriteMakefile( 44WriteMakefile(
34 dist => { 45 dist => {
35 PREOP => 'pod2text Coro.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 46 PREOP => 'pod2text Coro.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
36 COMPRESS => 'gzip -9v', 47 COMPRESS => 'gzip -9v',
59 'Coro/Signal.pm' => '$(INST_LIBDIR)/Coro/Signal.pm', 70 'Coro/Signal.pm' => '$(INST_LIBDIR)/Coro/Signal.pm',
60 'Coro/Channel.pm' => '$(INST_LIBDIR)/Coro/Channel.pm', 71 'Coro/Channel.pm' => '$(INST_LIBDIR)/Coro/Channel.pm',
61 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm', 72 'Coro/Semaphore.pm' => '$(INST_LIBDIR)/Coro/Semaphore.pm',
62 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm', 73 'Coro/SemaphoreSet.pm'=> '$(INST_LIBDIR)/Coro/SemaphoreSet.pm',
63 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm', 74 'Coro/RWLock.pm' => '$(INST_LIBDIR)/Coro/RWLock.pm',
64 $EVENT ? (
65 'Event/Event.pm' => '$(INST_LIBDIR)/Coro/Event.pm',
66 'Event/Handle.pm'=> '$(INST_LIBDIR)/Coro/Handle.pm',
67 'Event/Socket.pm'=> '$(INST_LIBDIR)/Coro/Socket.pm',
68 'Event/Util.pm' => '$(INST_LIBDIR)/Coro/Util.pm',
69 'Event/Select.pm'=> '$(INST_LIBDIR)/Coro/Select.pm',
70 ) : (),
71 }, 75 },
72); 76);
73 77
74sub MY::postamble { 78sub MY::postamble {
75 <<EOF; 79 <<EOF;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines