From: Nicholas Clark Date: Thu, 10 Sep 2009 10:06:03 +0000 (+0100) Subject: Map ParseWords.pm to .../lib/Text/ParseWords.pm so that it can be used. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=66c85ba8d72ac70beb51ca6fcf48ade6d6b89439;p=p5sagit%2Fp5-mst-13.2.git Map ParseWords.pm to .../lib/Text/ParseWords.pm so that it can be used. make_ext.pl needs to add a directory containing Text/ParseWords.pm into $ENV{PERL5LIB} so that ExtUtils::MakeMaker can require it on Win32. Hopefully the upstream CPAN distribution will be re-shuffled to match. --- diff --git a/MANIFEST b/MANIFEST index 240189b..602a573 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2060,7 +2060,7 @@ ext/Text-Balanced/t/06_extqlk.t See if Text::Balanced works ext/Text-Balanced/t/07_exttag.t See if Text::Balanced works ext/Text-Balanced/t/08_extvar.t See if Text::Balanced works ext/Text-Balanced/t/09_gentag.t See if Text::Balanced works -ext/Text-ParseWords/ParseWords.pm Perl module to split words on arbitrary delimiter +ext/Text-ParseWords/lib/Text/ParseWords.pm Perl module to split words on arbitrary delimiter ext/Text-ParseWords/t/ParseWords.t See if Text::ParseWords works ext/Text-ParseWords/t/taint.t See if Text::ParseWords works with tainting ext/Text-Soundex/Changes Changelog for Text::Soundex diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 6309e4c..951c9d9 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1657,6 +1657,11 @@ use File::Glob qw(:case); 'DISTRIBUTION' => 'CHORNY/Text-ParseWords-3.27.zip', 'FILES' => q[ext/Text-ParseWords], 'EXCLUDED' => [ qw( t/pod.t ) ], + # For the benefit of make_ext.pl, we have to have this accessible: + 'MAP' => { + 'ParseWords.pm' => 'ext/Text-ParseWords/lib/Text/ParseWords.pm', + '' => 'ext/Text-ParseWords/', + }, 'CPAN' => 1, 'UPSTREAM' => undef, }, diff --git a/ext/Text-ParseWords/ParseWords.pm b/ext/Text-ParseWords/lib/Text/ParseWords.pm similarity index 100% rename from ext/Text-ParseWords/ParseWords.pm rename to ext/Text-ParseWords/lib/Text/ParseWords.pm diff --git a/make_ext.pl b/make_ext.pl index e475c4e..8f73a42 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -12,7 +12,7 @@ use Cwd; # allow miniperl to build everything else. my @toolchain = qw(ext/constant/lib ext/ExtUtils-Command/lib - ext/Text-ParseWords); + ext/Text-ParseWords/lib); # This script acts as a simple interface for building extensions.