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

Comparing EV-Loop-Async/Makefile.PL (file contents):
Revision 1.2 by root, Tue Jul 14 13:24:34 2009 UTC vs.
Revision 1.6 by root, Fri Jul 17 15:06:25 2009 UTC

6*** 6***
7*** This module requires phreads (listening to -lpthread) 7*** This module requires phreads (listening to -lpthread)
8*** A pthreads implementation for windows can be found at 8*** A pthreads implementation for windows can be found at
9*** http://sourceware.org/pthreads-win32/ 9*** http://sourceware.org/pthreads-win32/
10*** 10***
11*** Due to bugs in perl, this module does not currently work on windows.
12***
11 13
12EOF 14EOF
15
16if ($^O =~ /win32/i or $^O =~ /mswin/) {
17
18 # configuration on windows is hardcoded - as always
19
20 warn "your platform is not standards-compliant, you have to port this module first\n";
21 warn "using some hardcoded config that will not work on your system\n";
22 warn "hint: edit the Makefile.PL\n\n";
23
24 $INC = "-I/sdk/include -I/vc98/include -I/gtk/include";
25 $LIBS = ["-L/gtk/lib -lpthreadVC2"];
26} else {
27 $INC = "";
28 $LIBS = ['-lpthread'],
29}
13 30
14my $mm = MM->new({EV::MakeMaker::ev_args ( 31my $mm = MM->new({EV::MakeMaker::ev_args (
15 dist => { 32 dist => {
16 PREOP => 'pod2text Async.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 33 PREOP => 'pod2text Async.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
17 COMPRESS => 'gzip -9v', 34 COMPRESS => 'gzip -9v',
18 SUFFIX => '.gz', 35 SUFFIX => '.gz',
19 }, 36 },
20 NAME => "EV::Loop::Async", 37 NAME => "EV::Loop::Async",
21 VERSION_FROM => "Async.pm", 38 VERSION_FROM => "Async.pm",
22 LIBS => ["-lpthread"], 39 INC => $INC,
40 LIBS => $LIBS,
23 PREREQ_FATAL => 1, 41 PREREQ_FATAL => 1,
24 PREREQ_PM => { 42 PREREQ_PM => {
25 EV => 3.6, #TODO bump 43 EV => 3.7,
26 Async::Interrupt => 0, 44 Async::Interrupt => 0.5,
27 common::sense => 0, 45 common::sense => 0,
28 }, 46 },
29 META_MERGE => { 47 META_MERGE => {
30 configure_requires => { 48 configure_requires => {
31 EV => 2.0, 49 EV => 2.0,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines