Map ParseWords.pm to .../lib/Text/ParseWords.pm so that it can be used.
Nicholas Clark [Thu, 10 Sep 2009 10:06:03 +0000 (11:06 +0100)]
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.

MANIFEST
Porting/Maintainers.pl
ext/Text-ParseWords/lib/Text/ParseWords.pm [moved from ext/Text-ParseWords/ParseWords.pm with 100% similarity]
make_ext.pl

index 240189b..602a573 100644 (file)
--- 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
index 6309e4c..951c9d9 100755 (executable)
@@ -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,
        },
index e475c4e..8f73a42 100644 (file)
@@ -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.