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.16 by root, Sun May 11 00:01:03 2008 UTC vs.
Revision 1.21 by root, Sun Jul 26 08:28:36 2009 UTC

1use v5.8.8; 1use 5.008002;
2 2
3use ExtUtils::MakeMaker; 3use ExtUtils::MakeMaker;
4 4
5use Config; 5use Config;
6 6
15 $LIBS = ["-L/gtk/lib -lpthreadVC2"]; 15 $LIBS = ["-L/gtk/lib -lpthreadVC2"];
16 16
17} else { 17} else {
18 18
19 $INC = ""; 19 $INC = "";
20 $LIBS = ['-lpthread -lrt', '-lpthread', '-lpthreads', '-lpthreadVC2', '']; 20 $LIBS = ['-lpthread', '-lpthreads', '-lpthreadVC2', ''];
21 21
22 if ($^O =~ /freebsd/i) { 22 if ($^O =~ /freebsd/i) {
23 print <<EOF; 23 print <<EOF;
24 24
25This package seems to deadlock or otherwise misbehave under FreeBSD. As 25This package seems to deadlock or otherwise misbehave under FreeBSD. As
45 $ENV{SHELL} = $Config{sh}; 45 $ENV{SHELL} = $Config{sh};
46 $ENV{CC} = $Config{cc}; 46 $ENV{CC} = $Config{cc};
47 $ENV{CPPFLAGS} = $Config{cppflags}; 47 $ENV{CPPFLAGS} = $Config{cppflags};
48 $ENV{CFLAGS} = $Config{ccflags}; 48 $ENV{CFLAGS} = $Config{ccflags};
49 $ENV{LDFLAGS} = $Config{ldflags}; 49 $ENV{LDFLAGS} = $Config{ldflags};
50 $ENV{LIBS} = $Config{libs};
51 $ENV{LINKER} = $Config{ld}; # nonstandard 50 $ENV{LINKER} = $Config{ld}; # nonstandard
52 51
53 system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E" 52 system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E"
54 and exit $? >> 8; 53 and exit $? >> 8;
55 } 54 }
86 }, 85 },
87 NAME => "IO::AIO", 86 NAME => "IO::AIO",
88 VERSION_FROM => "AIO.pm", 87 VERSION_FROM => "AIO.pm",
89 INC => $INC, 88 INC => $INC,
90 LIBS => $LIBS, 89 LIBS => $LIBS,
90 EXE_FILES => ["bin/treescan"],
91 PM => { 91 PM => {
92 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm', 92 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm',
93 }, 93 },
94 PREREQ_PM => {
95 "common::sense" => 0,
96 },
94 clean => { FILES => "libeio/config.h libeio/config.log libeio/config.status" }, 97 clean => { FILES => "libeio/config.h libeio/config.log libeio/config.status" },
95}); 98});
96 99
97$mm->flush; 100$mm->flush;
98 101

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines