X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=f2df41308238a92cd83fc91f0896a59b73e6f93f;hb=b06c4c98acd1452e8836c2cd1798e27a6b194703;hp=cb1e72920941e3ec29434d90363cd19eb535ef49;hpb=987e9c3448c1fc1668b162e3d25c39f6593ba000;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/Makefile.PL b/Makefile.PL index cb1e729..f2df413 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -108,6 +108,7 @@ WriteMakefile( PREREQ_PM => { 'Carp' => 0, 'Exporter' => 0, + 'Fcntl' => 0, 'POSIX' => 0, 'Perl::Destruct::Level' => 0, 'Test::Builder' => 0, @@ -124,10 +125,27 @@ WriteMakefile( package MY; +sub dist_core { + my $dist = shift->SUPER::dist_core(@_); + $dist =~ s/^(\s*dist\s*:+\s*)/$1testvg_dist /m; + return <SUPER::test(@_); + my ($target) = $test =~ /^\s*(test\s*:+)/m; + return "$target Makefile.bak blib/archpub/$supp\n$test"; +} + sub postamble { - <<'POSTAMBLE'; + return <