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.4 by root, Fri Jul 17 02:52:22 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines