r38893 - in /trunk/libextutils-cbuilder-perl: ./ debian/ 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:38:22 UTC 2009
Author: nhandler-guest
Date: Mon Jun 29 02:38:16 2009
New Revision: 38893
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38893
Log:
* New upstream release
* debian/watch:
- Update to ignore development releases.
* debian/control:
- Add myself to list of Uploaders
- Bump Standards-Version to 3.8.2
* debian/copyright:
- Update years for debian/* copyright
- Use <>'s to surround email addresses
Removed:
trunk/libextutils-cbuilder-perl/SIGNATURE
trunk/libextutils-cbuilder-perl/bleadcheck.pl
Modified:
trunk/libextutils-cbuilder-perl/Changes
trunk/libextutils-cbuilder-perl/MANIFEST
trunk/libextutils-cbuilder-perl/META.yml
trunk/libextutils-cbuilder-perl/Makefile.PL
trunk/libextutils-cbuilder-perl/README
trunk/libextutils-cbuilder-perl/debian/changelog
trunk/libextutils-cbuilder-perl/debian/control
trunk/libextutils-cbuilder-perl/debian/copyright
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm
trunk/libextutils-cbuilder-perl/t/02-link.t
Modified: trunk/libextutils-cbuilder-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/Changes?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/Changes (original)
+++ trunk/libextutils-cbuilder-perl/Changes Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/MANIFEST?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/MANIFEST (original)
+++ trunk/libextutils-cbuilder-perl/MANIFEST Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/META.yml?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/META.yml (original)
+++ trunk/libextutils-cbuilder-perl/META.yml Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/Makefile.PL?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/Makefile.PL (original)
+++ trunk/libextutils-cbuilder-perl/Makefile.PL Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/README?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/README (original)
+++ trunk/libextutils-cbuilder-perl/README Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/debian/changelog?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/debian/changelog (original)
+++ trunk/libextutils-cbuilder-perl/debian/changelog Mon Jun 29 02:38:16 2009
@@ -1,4 +1,4 @@
-libextutils-cbuilder-perl (0.24-2) UNRELEASED; urgency=low
+libextutils-cbuilder-perl (0.25-1) unstable; urgency=low
[ gregor herrmann ]
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
@@ -6,9 +6,17 @@
* Remove Florian Ragwitz from Uploaders (closes: #523253).
[ Nathan Handler ]
- * debian/watch: Update to ignore development releases.
+ * New upstream release
+ * debian/watch:
+ - Update to ignore development releases.
+ * debian/control:
+ - Add myself to list of Uploaders
+ - Bump Standards-Version to 3.8.2
+ * debian/copyright:
+ - Update years for debian/* copyright
+ - Use <>'s to surround email addresses
- -- gregor herrmann <gregoa at debian.org> Sun, 16 Nov 2008 20:42:33 +0100
+ -- Nathan Handler <nhandler at ubuntu.com> Mon, 29 Jun 2009 02:38:02 +0000
libextutils-cbuilder-perl (0.24-1) unstable; urgency=low
Modified: trunk/libextutils-cbuilder-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/debian/control?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/debian/control (original)
+++ trunk/libextutils-cbuilder-perl/debian/control Mon Jun 29 02:38:16 2009
@@ -5,8 +5,8 @@
Build-Depends-Indep: perl (>= 5.8.0-7)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn at debian.org>,
- gregor herrmann <gregoa at debian.org>
-Standards-Version: 3.8.0
+ gregor herrmann <gregoa at debian.org>, Nathan Handler <nhandler at ubuntu.com>
+Standards-Version: 3.8.2
Homepage: http://search.cpan.org/dist/ExtUtils-CBuilder/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libextutils-cbuilder-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libextutils-cbuilder-perl/
Modified: trunk/libextutils-cbuilder-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/debian/copyright?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/debian/copyright (original)
+++ trunk/libextutils-cbuilder-perl/debian/copyright Mon Jun 29 02:38:16 2009
@@ -1,18 +1,18 @@
Format-Specification:
http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Ken Williams, kwilliams at cpan.org
+Upstream-Maintainer: Ken Williams <kwilliams at cpan.org>
Upstream-Source: http://search.cpan.org/dist/ExtUtils-CBuilder/
Upstream-Name: ExtUtils-CBuilder
Files: *
-Copyright: (c) 2003-2005 Ken Williams, kwilliams at cpan.org
+Copyright: (c) 2003-2005 Ken Williams <kwilliams at cpan.org>
License-Alias: Perl
License: Artistic | GPL-1+
Files: debian/*
Copyright: 2005, Chip Salzenberg <chip at debian.org>,
2006, Florian Ragwitz <rafl at debian.org>,
- 2008, various members of the Debian Perl Group, cf. debian/changelog
+ 2008-2009, various members of the Debian Perl Group, cf. debian/changelog
License: Artistic | GPL-1+
License: Artistic
Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Base.pm Mon Jun 29 02:38:16 2009
@@ -9,7 +9,7 @@
use IO::File;
use vars qw($VERSION);
-$VERSION = '0.24';
+$VERSION = '0.25';
sub new {
my $class = shift;
Modified: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Unix.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/VMS.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/Windows.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/aix.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/cygwin.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/darwin.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/dec_osf.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm (original)
+++ trunk/libextutils-cbuilder-perl/lib/ExtUtils/CBuilder/Platform/os2.pm Mon Jun 29 02:38:16 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: trunk/libextutils-cbuilder-perl/t/02-link.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-cbuilder-perl/t/02-link.t?rev=38893&op=diff
==============================================================================
--- trunk/libextutils-cbuilder-perl/t/02-link.t (original)
+++ trunk/libextutils-cbuilder-perl/t/02-link.t Mon Jun 29 02:38:16 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