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

Comparing AnyEvent/Makefile.PL (file contents):
Revision 1.44 by root, Sat Feb 4 03:49:36 2017 UTC vs.
Revision 1.45 by root, Sat Jul 25 22:20:29 2020 UTC

1use ExtUtils::MakeMaker; 1use ExtUtils::MakeMaker;
2 2
3# AnyEvent perl event loop seems to work with 5.6, other modules not 3# AnyEvent perl event loop seems to work with 5.6, other modules not
4eval 'use Canary::Stability AnyEvent => 1, 5.008001'; 4eval 'use Canary::Stability AnyEvent => 1, 5.008001';
5
6our %PREREQ_PM;
5 7
6print <<EOF; 8print <<EOF;
7 9
8*** 10***
9*** The EV module is recommended for even better performance, unless you 11*** The EV module is recommended for even better performance, unless you
20*** and performant, even without any of the optional modules. 22*** and performant, even without any of the optional modules.
21*** 23***
22 24
23EOF 25EOF
24 26
27if (eval { require Coro; $Coro::VERSION < 6.57 }) {
28 print <<EOF;
29
30***
31*** Adding a dependency on Coro, as your version of Coro is too old
32*** for this version of AnyEvent.
33***
34
35EOF
36
37 $PREREQ_PM{Coro} = 6.57;
38}
39
25do "./constants.pl.PL" 40do "./constants.pl.PL"
26 or die "cannot execute constants.pl.PL: $@"; 41 or die "cannot execute constants.pl.PL: $@";
27 42
28WriteMakefile( 43WriteMakefile(
29 dist => { 44 dist => {
33 }, 48 },
34 test => { TESTS => "t/*.t t/handle/*.t" }, 49 test => { TESTS => "t/*.t t/handle/*.t" },
35 NAME => "AnyEvent", 50 NAME => "AnyEvent",
36 VERSION_FROM => "lib/AnyEvent.pm", 51 VERSION_FROM => "lib/AnyEvent.pm",
37 PMLIBDIRS => ["lib"], 52 PMLIBDIRS => ["lib"],
38# PREREQ_PM => { 53 PREREQ_PM => {
39# Task::Weaken => 0, 54 %PREREQ_PM,
40# }, 55 },
41 CONFIGURE_REQUIRES => { "ExtUtils::MakeMaker" => 6.52, "Canary::Stability" => 0 }, 56 CONFIGURE_REQUIRES => { "ExtUtils::MakeMaker" => 6.52, "Canary::Stability" => 0 },
42 META_MERGE => { 57 META_MERGE => {
43 recommends => { 58 recommends => {
44 "Task::Weaken" => 0, 59 "Task::Weaken" => 0,
45 "Net::SSLeay" => 1.33, 60 "Net::SSLeay" => 1.33,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines