r38891 - in /branches/upstream/libextutils-cbuilder-perl/current: ./ lib/ExtUtils/ lib/ExtUtils/CBuilder/ lib/ExtUtils/CBuilder/Platform/ t/

nhandler-guest at users.alioth.debian.org nhandler-guest at users.alioth.debian.org
Mon Jun 29 02:25:38 UTC 2009


Author: nhandler-guest
Date: Mon Jun 29 02:25:28 2009
New Revision: 38891

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38891
Log:
[svn-upgrade] Integrating new upstream version, libextutils-cbuilder-perl (0.25)

Removed:
    branches/upstream/libextutils-cbuilder-perl/current/SIGNATURE
    branches/upstream/libextutils-cbuilder-perl/current/bleadcheck.pl
Modified:
    branches/upstream/libextutils-cbuilder-perl/current/Changes
    branches/upstream/libextutils-cbuilder-perl/current/MANIFEST
    branches/upstream/libextutils-cbuilder-perl/current/META.yml
    branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL
    branches/upstream/libextutils-cbuilder-perl/current/README
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm
    branches/upstream/libextutils-cbuilder-perl/current/t/02-link.t

Modified: branches/upstream/libextutils-cbuilder-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/Changes?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/Changes (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/Changes Mon Jun 29 02:25:28 2009
@@ -1,4 +1,24 @@
 Revision history for Perl extension ExtUtils::CBuilder.
+
+0.25 - Fri Jun 26 16:18:13 EDT 2009
+
+ - Slight diagnostic improvements in link.t
+
+0.24_01 - Sun Mar  8 14:50:10 2009
+
+ - On Windows, don't generate "mt" command when CRT is statically
+   linked. [Jan Dubois]
+
+ - On Cygwin, examine $Config{useshrplib} to see whether we're
+   supposed to be linking with a shared perl library or not. [Reini
+   Urban]
+
+ - In link_executable() on Cygwin, trust $Config{ld} rather than using
+   $Config{cc} for linking. [Reini Urban]
+
+ - Add 'haiku' as a Unix-like platform. [Ingo Weinhold]
+
+0.24 - Fri Aug 15 22:01:48 2008
 
  - Added 'gnu' and 'gnukfreebsd' as Unix variants. [Niko Tyni]
 

Modified: branches/upstream/libextutils-cbuilder-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/MANIFEST?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/MANIFEST (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/MANIFEST Mon Jun 29 02:25:28 2009
@@ -1,4 +1,3 @@
-bleadcheck.pl
 Build.PL
 Changes
 INSTALL
@@ -15,7 +14,6 @@
 Makefile.PL
 MANIFEST			This list of files
 META.yml
+README
 t/01-basic.t
 t/02-link.t
-README
-SIGNATURE    Added here by Module::Build

Modified: branches/upstream/libextutils-cbuilder-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/META.yml?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/META.yml (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/META.yml Mon Jun 29 02:25:28 2009
@@ -1,6 +1,6 @@
 ---
 name: ExtUtils-CBuilder
-version: 0.24
+version: 0.25
 author:
   - 'Ken Williams, kwilliams at cpan.org'
 abstract: Compile and link C code for Perl modules
@@ -8,30 +8,30 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://svn.perl.org/modules/ExtUtils-CBuilder
+build_requires:
+  Test: 0
 requires:
   Cwd: 0
   File::Basename: 0
   File::Spec: 0
   IO::File: 0
   Text::ParseWords: 0
-build_requires:
-  Test: 0
 provides:
   ExtUtils::CBuilder:
     file: lib/ExtUtils/CBuilder.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Base:
     file: lib/ExtUtils/CBuilder/Base.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Platform::Unix:
     file: lib/ExtUtils/CBuilder/Platform/Unix.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Platform::VMS:
     file: lib/ExtUtils/CBuilder/Platform/VMS.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Platform::Windows:
     file: lib/ExtUtils/CBuilder/Platform/Windows.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Platform::Windows::BCC:
     file: lib/ExtUtils/CBuilder/Platform/Windows.pm
   ExtUtils::CBuilder::Platform::Windows::GCC:
@@ -40,20 +40,20 @@
     file: lib/ExtUtils/CBuilder/Platform/Windows.pm
   ExtUtils::CBuilder::Platform::aix:
     file: lib/ExtUtils/CBuilder/Platform/aix.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Platform::cygwin:
     file: lib/ExtUtils/CBuilder/Platform/cygwin.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Platform::darwin:
     file: lib/ExtUtils/CBuilder/Platform/darwin.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Platform::dec_osf:
     file: lib/ExtUtils/CBuilder/Platform/dec_osf.pm
-    version: 0.24
+    version: 0.25
   ExtUtils::CBuilder::Platform::os2:
     file: lib/ExtUtils/CBuilder/Platform/os2.pm
-    version: 0.24
-generated_by: Module::Build version 0.2808
+    version: 0.25
+generated_by: Module::Build version 0.3304
 meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.2.html
-  version: 1.2
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4

Modified: branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL Mon Jun 29 02:25:28 2009
@@ -1,19 +1,19 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+# Note: this file was auto-generated by Module::Build::Compat version 0.33_04
 use ExtUtils::MakeMaker;
 WriteMakefile
 (
+          'PL_FILES' => {},
+          'INSTALLDIRS' => 'perl',
           'NAME' => 'ExtUtils::CBuilder',
+          'EXE_FILES' => [],
           'VERSION_FROM' => 'lib/ExtUtils/CBuilder.pm',
           'PREREQ_PM' => {
-                           'Cwd' => '0',
-                           'File::Basename' => '0',
-                           'File::Spec' => '0',
-                           'IO::File' => '0',
-                           'Test' => '0',
-                           'Text::ParseWords' => '0'
-                         },
-          'INSTALLDIRS' => ($] >= 5.009003 ? 'perl' : 'site'),
-          'EXE_FILES' => [],
-          'PL_FILES' => {}
+                           'Text::ParseWords' => 0,
+                           'IO::File' => 0,
+                           'File::Spec' => 0,
+                           'Test' => 0,
+                           'File::Basename' => 0,
+                           'Cwd' => 0
+                         }
         )
 ;

Modified: branches/upstream/libextutils-cbuilder-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/README?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/README (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/README Mon Jun 29 02:25:28 2009
@@ -11,21 +11,21 @@
 DESCRIPTION
     This module can build the C portions of Perl modules by invoking the
     appropriate compilers and linkers in a cross-platform manner. It was
-    motivated by the `Module::Build' project, but may be useful for other
+    motivated by the "Module::Build" project, but may be useful for other
     purposes as well. However, it is *not* intended as a general
     cross-platform interface to all your C building needs. That would have
     been a much more ambitious goal!
 
 METHODS
-    new Returns a new `ExtUtils::CBuilder' object. A `config' parameter lets
-        you override `Config.pm' settings for all operations performed by
+    new Returns a new "ExtUtils::CBuilder" object. A "config" parameter lets
+        you override "Config.pm" settings for all operations performed by
         the object, as in the following example:
 
           # Use a different compiler than Config.pm says
           my $b = ExtUtils::CBuilder->new( config =>
                                            { ld => 'gcc' } );
 
-        A `quiet' parameter tells `CBuilder' to not print its `system()'
+        A "quiet" parameter tells "CBuilder" to not print its "system()"
         commands before executing them:
 
           # Be quieter than normal
@@ -39,43 +39,43 @@
     compile
         Compiles a C source file and produces an object file. The name of
         the object file is returned. The source file is specified in a
-        `source' parameter, which is required; the other parameters listed
+        "source" parameter, which is required; the other parameters listed
         below are optional.
 
-        `object_file'
+        "object_file"
             Specifies the name of the output file to create. Otherwise the
-            `object_file()' method will be consulted, passing it the name of
-            the `source' file.
+            "object_file()" method will be consulted, passing it the name of
+            the "source" file.
 
-        `include_dirs'
+        "include_dirs"
             Specifies any additional directories in which to search for
             header files. May be given as a string indicating a single
             directory, or as a list reference indicating multiple
             directories.
 
-        `extra_compiler_flags'
+        "extra_compiler_flags"
             Specifies any additional arguments to pass to the compiler.
             Should be given as a list reference containing the arguments
             individually, or if this is not possible, as a string containing
             all the arguments together.
 
-        The operation of this method is also affected by the `archlibexp',
-        `cccdlflags', `ccflags', `optimize', and `cc' entries in
-        `Config.pm'.
+        The operation of this method is also affected by the "archlibexp",
+        "cccdlflags", "ccflags", "optimize", and "cc" entries in
+        "Config.pm".
 
     link
         Invokes the linker to produce a library file from object files. In
         scalar context, the name of the library file is returned. In list
         context, the library file and any temporary files created are
-        returned. A required `objects' parameter contains the name of the
+        returned. A required "objects" parameter contains the name of the
         object files to process, either in a string (for one object file) or
         list reference (for one or more files). The following parameters are
         optional:
 
         lib_file
             Specifies the name of the output library file to create.
-            Otherwise the `lib_file()' method will be consulted, passing it
-            the name of the first entry in `objects'.
+            Otherwise the "lib_file()" method will be consulted, passing it
+            the name of the first entry in "objects".
 
         module_name
             Specifies the name of the Perl module that will be created by
@@ -85,25 +85,25 @@
         extra_linker_flags
             Any additional flags you wish to pass to the linker.
 
-        On platforms where `need_prelink()' returns true, `prelink()' will
+        On platforms where "need_prelink()" returns true, "prelink()" will
         be called automatically.
 
-        The operation of this method is also affected by the `lddlflags',
-        `shrpenv', and `ld' entries in `Config.pm'.
+        The operation of this method is also affected by the "lddlflags",
+        "shrpenv", and "ld" entries in "Config.pm".
 
     link_executable
         Invokes the linker to produce an executable file from object files.
         In scalar context, the name of the executable file is returned. In
         list context, the executable file and any temporary files created
-        are returned. A required `objects' parameter contains the name of
+        are returned. A required "objects" parameter contains the name of
         the object files to process, either in a string (for one object
         file) or list reference (for one or more files). The optional
-        parameters are the same as `link' with exception for
+        parameters are the same as "link" with exception for
 
         exe_file
             Specifies the name of the output executable file to create.
-            Otherwise the `exe_file()' method will be consulted, passing it
-            the name of the first entry in `objects'.
+            Otherwise the "exe_file()" method will be consulted, passing it
+            the name of the first entry in "objects".
 
     object_file
          my $object_file = $b->object_file($source_file);
@@ -130,13 +130,13 @@
     prelink
         On certain platforms like Win32, OS/2, VMS, and AIX, it is necessary
         to perform some actions before invoking the linker. The
-        `ExtUtils::Mksymlists' module does this, writing files used by the
+        "ExtUtils::Mksymlists" module does this, writing files used by the
         linker during the creation of shared libraries for dynamic
         extensions. The names of any files written will be returned as a
         list.
 
         Several parameters correspond to
-        `ExtUtils::Mksymlists::Mksymlists()' options, as follows:
+        "ExtUtils::Mksymlists::Mksymlists()" options, as follows:
 
             Mksymlists()   prelink()          type
            -------------|-------------------|-------------------
@@ -149,26 +149,26 @@
             IMPORTS     |  dl_imports       | hash reference
             VERSION     |  dl_version       | string
 
-        Please see the documentation for `ExtUtils::Mksymlists' for the
+        Please see the documentation for "ExtUtils::Mksymlists" for the
         details of what these parameters do.
 
     need_prelink
-        Returns true on platforms where `prelink()' should be called during
+        Returns true on platforms where "prelink()" should be called during
         linking, and false otherwise.
 
     extra_link_args_after_prelink
         Returns list of extra arguments to give to the link command; the
         arguments are the same as for prelink(), with addition of array
         reference to the results of prelink(); this reference is indexed by
-        key `prelink_res'.
+        key "prelink_res".
 
 TO DO
     Currently this has only been tested on Unix and doesn't contain any of
-    the Windows-specific code from the `Module::Build' project. I'll do that
+    the Windows-specific code from the "Module::Build" project. I'll do that
     next.
 
 HISTORY
-    This module is an outgrowth of the `Module::Build' project, to which
+    This module is an outgrowth of the "Module::Build" project, to which
     there have been many contributors. Notably, Randy W. Sims submitted lots
     of code to support 3 compilers on Windows and helped with various other
     platform-specific issues. Ilya Zakharevich has contributed fixes for

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm Mon Jun 29 02:25:28 2009
@@ -5,7 +5,7 @@
 use File::Basename ();
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.24';
+$VERSION = '0.25';
 $VERSION = eval $VERSION;
 
 # Okay, this is the brute-force method of finding out what kind of
@@ -38,6 +38,7 @@
 		 os2       Unix
 		 gnu       Unix
 		 gnukfreebsd Unix
+		 haiku     Unix
 		 
 		 dos       Windows
 		 MSWin32   Windows

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm Mon Jun 29 02:25:28 2009
@@ -9,7 +9,7 @@
 use IO::File;
 
 use vars qw($VERSION);
-$VERSION = '0.24';
+$VERSION = '0.25';
 
 sub new {
   my $class = shift;

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm Mon Jun 29 02:25:28 2009
@@ -4,12 +4,15 @@
 use ExtUtils::CBuilder::Base;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.24';
+$VERSION = '0.25';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 sub link_executable {
   my $self = shift;
-  # $Config{cc} is usually a better bet for linking executables than $Config{ld}
+
+  # On some platforms (which ones??) $Config{cc} seems to be a better
+  # bet for linking executables than $Config{ld}.  Cygwin is a notable
+  # exception.
   local $self->{config}{ld} =
     $self->{config}{cc} . " " . $self->{config}{ldflags};
   return $self->SUPER::link_executable(@_);

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm Mon Jun 29 02:25:28 2009
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Base;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.24';
+$VERSION = '0.25';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 use File::Spec::Functions qw(catfile catdir);

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm Mon Jun 29 02:25:28 2009
@@ -10,7 +10,7 @@
 use IO::File;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.24';
+$VERSION = '0.25';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 sub new {
@@ -347,7 +347,7 @@
   # Embed the manifest file for VC 2005 (aka VC 8) or higher, but not for the 64-bit Platform SDK compiler
   if ($cf->{ivsize} == 4 && $cf->{cc} eq 'cl' and $cf->{ccversion} =~ /^(\d+)/ and $1 >= 14) {
     push @cmds, [
-      'mt', '-nologo', $spec{manifest}, '-outputresource:' . "$output;2"
+      'if', 'exist', $spec{manifest}, 'mt', '-nologo', $spec{manifest}, '-outputresource:' . "$output;2"
     ];
   }
 

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm Mon Jun 29 02:25:28 2009
@@ -5,7 +5,7 @@
 use File::Spec;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.24';
+$VERSION = '0.25';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub need_prelink { 1 }

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm Mon Jun 29 02:25:28 2009
@@ -5,22 +5,22 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.24';
+$VERSION = '0.25';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub link_executable {
   my $self = shift;
-  # $Config{ld} is set up as a special script for building
-  # perl-linkable libraries.  We don't want that here.
-  local $self->{config}{ld} = 'gcc';
+  # $Config{ld} is okay. Circumvent the Unix ld=cc override in the superclass.
+  local $self->{config}{cc} = $self->{config}{ld};
   return $self->SUPER::link_executable(@_);
 }
 
 sub link {
   my ($self, %args) = @_;
 
+  my $lib = $self->{config}{useshrplib} ? 'libperl.dll.a' : 'libperl.a';
   $args{extra_linker_flags} = [
-    File::Spec->catdir($self->perl_inc(), 'libperl.dll.a'),
+    File::Spec->catfile($self->perl_inc(), $lib),
     $self->split_like_shell($args{extra_linker_flags})
   ];
 

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm Mon Jun 29 02:25:28 2009
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.24';
+$VERSION = '0.25';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub compile {

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm Mon Jun 29 02:25:28 2009
@@ -6,7 +6,7 @@
 
 use vars qw($VERSION @ISA);
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
-$VERSION = '0.24';
+$VERSION = '0.25';
 
 sub link_executable {
   my $self = shift;

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm Mon Jun 29 02:25:28 2009
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.24';
+$VERSION = '0.25';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub need_prelink { 1 }

Modified: branches/upstream/libextutils-cbuilder-perl/current/t/02-link.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/t/02-link.t?rev=38891&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/t/02-link.t (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/t/02-link.t Mon Jun 29 02:25:28 2009
@@ -49,7 +49,7 @@
 # Link
 my ($exe_file, @temps);
 ($exe_file, @temps) = $b->link_executable(objects => $object_file);
-ok $exe_file;
+ok -e $exe_file;
 
 if ($^O eq 'os2') {		# Analogue of LDLOADPATH...
 	# Actually, not needed now, since we do not link with the generated DLL
@@ -60,7 +60,10 @@
 }
 
 # Try the executable
-ok my_system($exe_file), 11;
+my $ec = my_system($exe_file);
+ok $ec, 11
+  or print( $? == -1 ? "# Could not run '$exe_file'\n" 
+                     : "# Unexpected exit code '$ec'\n");
 
 # Clean up
 for ($source_file, $object_file, $exe_file) {




More information about the Pkg-perl-cvs-commits mailing list