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.34 by root, Sat Jun 13 00:06:13 2015 UTC vs.
Revision 1.35 by root, Sun Aug 12 05:21:35 2018 UTC

29 } else { 29 } else {
30 $INC = "$ENV{INC} -I/sdk/include -I/vc98/include -I/gtk/include"; 30 $INC = "$ENV{INC} -I/sdk/include -I/vc98/include -I/gtk/include";
31 $LIBS = ["$ENV{LIBS} -L/gtk/lib -lpthreadVC2"]; 31 $LIBS = ["$ENV{LIBS} -L/gtk/lib -lpthreadVC2"];
32 } 32 }
33 33
34 open my $fh, ">libeio/config.h" 34 open my $fh, ">config.h"
35 or die "libeio/config.h: $!"; 35 or die "config.h: $!";
36 print $fh <<EOF; 36 print $fh <<EOF;
37EOF 37EOF
38 38
39} else { 39} else {
40 40
61 } 61 }
62 62
63 $ENV{MAKE} = $Config{make}; 63 $ENV{MAKE} = $Config{make};
64 $ENV{SHELL} = $Config{sh}; 64 $ENV{SHELL} = $Config{sh};
65 $ENV{CC} = $Config{cc}; 65 $ENV{CC} = $Config{cc};
66 $ENV{CPPFLAGS} = $Config{cppflags}; 66 $ENV{CPPFLAGS} = "$Config{cppflags} -I$Config{archlibexp}/CORE";
67 $ENV{CFLAGS} = $Config{ccflags}; 67 $ENV{CFLAGS} = $Config{ccflags};
68 $ENV{LDFLAGS} = $Config{ldflags}; 68 $ENV{LDFLAGS} = "$Config{ldflags} -L$Config{archlibexp}/CORE -L$Config{privlibexp}";
69 $ENV{LINKER} = $Config{ld}; # nonstandard 69 $ENV{LINKER} = $Config{ld}; # nonstandard
70 $ENV{LIBS} = "-lperl";
70 71
71 system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E" 72 system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E"
72 and exit $? >> 8; 73 and exit $? >> 8;
73 } 74 }
74} 75}
98 PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 99 PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
99 COMPRESS => 'gzip -9v', 100 COMPRESS => 'gzip -9v',
100 SUFFIX => '.gz', 101 SUFFIX => '.gz',
101 }, 102 },
102 depend => { 103 depend => {
103 "AIO.c" => "schmorp.h libeio/eio.h libeio/xthread.h libeio/etp.c libeio/eio.c libeio/config.h", 104 "AIO.c" => "schmorp.h libeio/eio.h libeio/xthread.h libeio/etp.c libeio/eio.c config.h",
104 }, 105 },
105 NAME => "IO::AIO", 106 NAME => "IO::AIO",
106 VERSION_FROM => "AIO.pm", 107 VERSION_FROM => "AIO.pm",
107 INC => $INC, 108 INC => $INC,
108 LIBS => $LIBS, 109 LIBS => $LIBS,
112 }, 113 },
113 CONFIGURE_REQUIRES => { ExtUtils::MakeMaker => 6.52, Canary::Stability => 2001 }, 114 CONFIGURE_REQUIRES => { ExtUtils::MakeMaker => 6.52, Canary::Stability => 2001 },
114 PREREQ_PM => { 115 PREREQ_PM => {
115 "common::sense" => 0, 116 "common::sense" => 0,
116 }, 117 },
117 clean => { FILES => "libeio/config.h libeio/config.log libeio/config.status" }, 118 clean => { FILES => "config.h libeio/config.h libeio/config.log libeio/config.status" },
118}); 119});
119 120
120$mm->flush; 121$mm->flush;
121 122

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines