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

Comparing IO-AIO/Makefile.PL (file contents):
Revision 1.2 by root, Tue Jul 12 11:02:54 2005 UTC vs.
Revision 1.8 by root, Wed Feb 1 23:43:17 2006 UTC

1use ExtUtils::MakeMaker; 1use ExtUtils::MakeMaker;
2 2
3use Config; 3use Config;
4
5require "autoconf.pm";
6
7if ($^O =~ /freebsd/i) {
8 print <<EOF;
9
10This package seems to deadlock or otherwise misbehave under FreeBSD. As
11documentation on FreeBSD threading is sorely lacking and confusing, I'll
12just call FreeBSD broken with regards to threading.
13
14If you find out whats wrong, please tell me.
15
16Some people had luck with using OPTIMIZE=-O instead of -O2, so you might
17want to try that.
18
19EOF
20}
21
22autoconf::run_script()
23 and die "\nconfigure failed, check it's output above and autoconf/config.log\n\n";
4 24
5my $mm = MM->new({ 25my $mm = MM->new({
6 dist => { 26 dist => {
7 PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 27 PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
8 COMPRESS => 'gzip -9v', 28 COMPRESS => 'gzip -9v',
9 SUFFIX => '.gz', 29 SUFFIX => '.gz',
10 }, 30 },
11 NAME => "IO::AIO", 31 NAME => "IO::AIO",
12 VERSION_FROM => "AIO.pm", 32 VERSION_FROM => "AIO.pm",
13 LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], 33 LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''],
34 clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" },
14}); 35});
15 36
16$mm->flush; 37$mm->flush;
17 38

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines