Move ExtUtils::CBuilder from lib to ext.
Nicholas Clark [Thu, 10 Sep 2009 13:48:25 +0000 (14:48 +0100)]
16 files changed:
MANIFEST
Porting/Maintainers.pl
ext/ExtUtils-CBuilder/Changes [moved from lib/ExtUtils/CBuilder/Changes with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm [moved from lib/ExtUtils/CBuilder.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm [moved from lib/ExtUtils/CBuilder/Base.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Unix.pm [moved from lib/ExtUtils/CBuilder/Platform/Unix.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/VMS.pm [moved from lib/ExtUtils/CBuilder/Platform/VMS.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm [moved from lib/ExtUtils/CBuilder/Platform/Windows.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/aix.pm [moved from lib/ExtUtils/CBuilder/Platform/aix.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/cygwin.pm [moved from lib/ExtUtils/CBuilder/Platform/cygwin.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm [moved from lib/ExtUtils/CBuilder/Platform/darwin.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/dec_osf.pm [moved from lib/ExtUtils/CBuilder/Platform/dec_osf.pm with 100% similarity]
ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/os2.pm [moved from lib/ExtUtils/CBuilder/Platform/os2.pm with 100% similarity]
ext/ExtUtils-CBuilder/t/00-have-compiler.t [moved from lib/ExtUtils/CBuilder/t/00-have-compiler.t with 81% similarity]
ext/ExtUtils-CBuilder/t/01-basic.t [moved from lib/ExtUtils/CBuilder/t/01-basic.t with 89% similarity]
ext/ExtUtils-CBuilder/t/02-link.t [moved from lib/ExtUtils/CBuilder/t/02-link.t with 92% similarity]

index f8c1592..7af5c96 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1040,6 +1040,20 @@ ext/Errno/ChangeLog      Errno changes
 ext/Errno/Errno_pm.PL  Errno perl module create script
 ext/Errno/Makefile.PL  Errno extension makefile writer
 ext/Errno/t/Errno.t    See if Errno works
+ext/ExtUtils-CBuilder/Changes                                  Changes for ExtUtils::CBuilder
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm            Base class for ExtUtils::CBuilder methods
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/aix.pm    CBuilder methods for AIX
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/cygwin.pm CBuilder methods for cygwin
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm CBuilder methods for darwin
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/dec_osf.pm        CBuilder methods for OSF
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/os2.pm    CBuilder methods for OS/2
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Unix.pm   CBuilder methods for Unix
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/VMS.pm    CBuilder methods for VMS
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm        CBuilder methods for Windows
+ext/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm                 Compile and link C code for Perl modules
+ext/ExtUtils-CBuilder/t/00-have-compiler.t                     ExtUtils::CBuilder tests
+ext/ExtUtils-CBuilder/t/01-basic.t                             tests for ExtUtils::CBuilder
+ext/ExtUtils-CBuilder/t/02-link.t                              tests for ExtUtils::CBuilder
 ext/ExtUtils-Command/lib/ExtUtils/Command.pm   Utilities for Make on non-UNIX platforms
 ext/ExtUtils-Command/t/cp.t                    See if ExtUtils::Command works
 ext/ExtUtils-Command/t/eu_command.t            See if ExtUtils::Command works
@@ -2575,20 +2589,6 @@ lib/exceptions.pl                catch and throw routines
 lib/Exporter/Heavy.pm          Complicated routines for Exporter
 lib/Exporter.pm                        Exporter base class
 lib/Exporter.t                 See if Exporter works
-lib/ExtUtils/CBuilder/Base.pm  Base class for ExtUtils::CBuilder methods
-lib/ExtUtils/CBuilder/Changes  Changes for ExtUtils::CBuilder
-lib/ExtUtils/CBuilder/Platform/aix.pm  CBuilder methods for AIX
-lib/ExtUtils/CBuilder/Platform/cygwin.pm       CBuilder methods for cygwin
-lib/ExtUtils/CBuilder/Platform/darwin.pm       CBuilder methods for darwin
-lib/ExtUtils/CBuilder/Platform/dec_osf.pm      CBuilder methods for OSF
-lib/ExtUtils/CBuilder/Platform/os2.pm  CBuilder methods for OS/2
-lib/ExtUtils/CBuilder/Platform/Unix.pm CBuilder methods for Unix
-lib/ExtUtils/CBuilder/Platform/VMS.pm  CBuilder methods for VMS
-lib/ExtUtils/CBuilder/Platform/Windows.pm      CBuilder methods for Windows
-lib/ExtUtils/CBuilder.pm       Compile and link C code for Perl modules
-lib/ExtUtils/CBuilder/t/00-have-compiler.t     ExtUtils::CBuilder tests
-lib/ExtUtils/CBuilder/t/01-basic.t     tests for ExtUtils::CBuilder
-lib/ExtUtils/CBuilder/t/02-link.t      tests for ExtUtils::CBuilder
 lib/ExtUtils/Changes           MakeMaker change log
 lib/ExtUtils/Command/MM.pm     Calling MM functions from the cmd line
 lib/ExtUtils/Embed.pm          Utilities for embedding Perl in C programs
index 6740f08..0f76466 100755 (executable)
@@ -563,7 +563,7 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'kwilliams',
        'DISTRIBUTION'  => 'DAGOLDEN/ExtUtils-CBuilder-0.2602.tar.gz',
-       'FILES'         => q[lib/ExtUtils/CBuilder.pm lib/ExtUtils/CBuilder],
+       'FILES'         => q[ext/ExtUtils-CBuilder],
        'EXCLUDED'      => [ qw{devtools} ],
        'CPAN'          => 1,
        'UPSTREAM'      => 'cpan',
similarity index 81%
rename from lib/ExtUtils/CBuilder/t/00-have-compiler.t
rename to ext/ExtUtils-CBuilder/t/00-have-compiler.t
index cf62e97..245bce5 100644 (file)
@@ -4,12 +4,6 @@ use File::Spec;
 my $perl;
 BEGIN {
   $perl = File::Spec->rel2abs($^X);
-  if ($ENV{PERL_CORE}) {
-    chdir 't' if -d 't';
-    chdir '../lib/ExtUtils/CBuilder'
-      or die "Can't chdir to lib/ExtUtils/CBuilder: $!";
-    @INC = qw(../..);
-  }
 }
 
 use strict;
similarity index 89%
rename from lib/ExtUtils/CBuilder/t/01-basic.t
rename to ext/ExtUtils-CBuilder/t/01-basic.t
index 79a0b0c..66a025f 100644 (file)
@@ -1,14 +1,5 @@
 #! perl -w
 
-BEGIN {
-  if ($ENV{PERL_CORE}) {
-    chdir 't' if -d 't';
-    chdir '../lib/ExtUtils/CBuilder'
-      or die "Can't chdir to lib/ExtUtils/CBuilder: $!";
-    @INC = qw(../..);
-  }
-}
-
 use strict;
 use Test::More;
 BEGIN { 
similarity index 92%
rename from lib/ExtUtils/CBuilder/t/02-link.t
rename to ext/ExtUtils-CBuilder/t/02-link.t
index c748d3b..1e55f6a 100644 (file)
@@ -1,14 +1,5 @@
 #! perl -w
 
-BEGIN {
-  if ($ENV{PERL_CORE}) {
-    chdir 't' if -d 't';
-    chdir '../lib/ExtUtils/CBuilder'
-      or die "Can't chdir to lib/ExtUtils/CBuilder: $!";
-    @INC = qw(../..);
-  }
-}
-
 use strict;
 use Test::More;
 BEGIN {