5 use ExtUtils::MakeMaker;
9 # Threads, Windows and 5.8.x don't seem to be best friends
10 if ($^O eq 'MSWin32' && $^V lt v5.9.0) {
11 push @DEFINES, '-DI_MULTIPLICITY=0';
14 # Fork emulation got "fixed" in 5.10.1
15 if ($^O eq 'MSWin32' && $^V lt v5.10.1) {
16 push @DEFINES, '-DI_FORKSAFE=0';
19 @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;
21 my $dist = 'indirect';
24 configure_requires => {
25 'ExtUtils::MakeMaker' => 0,
28 'ExtUtils::MakeMaker' => 0,
33 bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
34 homepage => "http://search.cpan.org/dist/$dist/",
35 license => 'http://dev.perl.org/licenses/',
36 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
42 AUTHOR => 'Vincent Pit <perl@profvince.com>',
44 VERSION_FROM => 'lib/indirect.pm',
45 ABSTRACT_FROM => 'lib/indirect.pm',
51 MIN_PERL_VERSION => 5.008,
54 PREOP => 'pod2text lib/indirect.pm > $(DISTVNAME)/README',
55 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
58 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"