X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=e249569330d003dee2be8536d1c8cd6b408bb944;hb=80c5f5cb3ac557c026055ff72f7211f2532f79db;hp=ec065d3ef4a78ab5e5380ed44a08b1c3d5e7cab7;hpb=32f2bff1c76f086abcd9e0557c3ffb1e2625667c;p=perl%2Fmodules%2FScalar-Vec-Util.git diff --git a/Makefile.PL b/Makefile.PL index ec065d3..e249569 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -54,8 +54,7 @@ if (not is_little_endian()) { } else { print "Checking unit size in bits... "; my $align = $Config{alignbytes} || 1; - my @bits = (8, 16, 32); - push @bits, 64 unless $^O eq 'MSWin32'; + my @bits = (8, 16, 32, 64); for my $bits (@bits) { my $size = $Config{"u${bits}size"}; next unless $size; @@ -75,6 +74,13 @@ if (not is_little_endian()) { my $dist = 'Scalar-Vec-Util'; +my %PREREQ_PM = ( + 'Exporter' => 0, + 'Carp' => 0, + 'XSLoader' => 0, + 'base' => 0, +); + my %META = ( configure_requires => { 'Config' => 0, @@ -85,7 +91,9 @@ my %META = ( 'Config' => 0, 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, + dynamic_config => 1, resources => { bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist", homepage => "http://search.cpan.org/dist/$dist/", @@ -103,11 +111,7 @@ WriteMakefile( PL_FILES => {}, C => \@C, @DEFINES, - PREREQ_PM => { - 'Exporter' => 0, - 'Carp' => 0, - 'XSLoader' => 0 - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.006, META_MERGE => \%META, dist => {