X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=8751a8891a98592847930185dbe28b3b0aca36bc;hb=874664eab6ac6c9d04dfe853989be605598b2c1d;hp=a7e84dbdec4fd9d2e4c0d1adda9439ccb7814d3f;hpb=5ae3324ff295015e051249ded13b2353ee8af258;p=perl%2Fmodules%2FSub-Op.git diff --git a/Makefile.PL b/Makefile.PL index a7e84db..8751a88 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -15,7 +15,7 @@ my %PREREQ_PM = ( 'B::Hooks::EndOfScope' => 0, 'DynaLoader' => 0, 'Scalar::Util' => 0, - 'Variable::Magic' => '0.39', + 'Variable::Magic' => '0.40', ); my %META = ( @@ -24,6 +24,7 @@ my %META = ( 'ExtUtils::MakeMaker' => 0, }, build_requires => { + 'B::Deparse' => 0, 'Cwd' => 0, 'ExtUtils::Depends' => 0, 'ExtUtils::MakeMaker' => 0, @@ -35,7 +36,7 @@ my %META = ( }, dynamic_config => 1, resources => { - bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist", + bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist", homepage => "http://search.cpan.org/dist/$dist/", license => 'http://dev.perl.org/licenses/', repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git", @@ -70,7 +71,13 @@ WriteMakefile( PREOP => "pod2text $file > \$(DISTVNAME)/README", COMPRESS => 'gzip -9f', SUFFIX => 'gz' }, - FUNCLIST => [ qw/sub_op_register boot_Sub__Op/ ], + FUNCLIST => [ qw[ + boot_Sub__Op + sub_op_init + sub_op_register + sub_op_dup + sub_op_free + ] ], %ed_vars, ); @@ -80,6 +87,7 @@ WriteMakefile( open my $fh, '>', $args_dat or die "open(>$args_dat): $!"; for (@ARGV) { my $arg = $_; + $arg =~ s{\s*(['"])\s*(.*)\s*\1\s*$}{$2}s; $arg =~ s{([^=/.a-zA-Z0-9-])}{sprintf "[%d]", ord $1}ge; print $fh "$arg\n"; }