X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=3e89d726b6ae68402caf9a7ccdad2e6cf3e07971;hb=418197898e73f85448f28aa1236f205f6a3cff5d;hp=f25d9e76a9910512d45017f3c5f197e86e988a3f;hpb=99dd805ff2026836a638c45fed6ecd4d4d483833;p=perl%2Fmodules%2FLexical-Types.git diff --git a/Makefile.PL b/Makefile.PL index f25d9e7..3e89d72 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,6 +4,15 @@ use strict; use warnings; use ExtUtils::MakeMaker; +my @DEFINES; + +# Threads, Windows and 5.8.x don't seem to be best friends +if ($^O eq 'MSWin32' && $^V lt v5.9.0) { + push @DEFINES, '-DLT_MULTIPLICITY=0'; +} + +@DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES; + my $dist = 'Lexical-Types'; my %META = ( @@ -19,7 +28,7 @@ my %META = ( bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist", homepage => "http://search.cpan.org/dist/$dist/", license => 'http://dev.perl.org/licenses/', - repository => "http://git.profvince.com/perl/modules/$dist.git", + repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git", }, ); @@ -30,6 +39,7 @@ WriteMakefile( VERSION_FROM => 'lib/Lexical/Types.pm', ABSTRACT_FROM => 'lib/Lexical/Types.pm', PL_FILES => {}, + @DEFINES, PREREQ_PM => { 'Carp' => 0, 'XSLoader' => 0,