r72550 - in /trunk/libdevel-checklib-perl: CHANGES META.yml debian/changelog lib/Devel/CheckLib.pm t/lib/Helper.pm
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Tue Apr 12 21:48:19 UTC 2011
Author: periapt-guest
Date: Tue Apr 12 21:48:11 2011
New Revision: 72550
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=72550
Log:
New upstream release
Modified:
trunk/libdevel-checklib-perl/CHANGES
trunk/libdevel-checklib-perl/META.yml
trunk/libdevel-checklib-perl/debian/changelog
trunk/libdevel-checklib-perl/lib/Devel/CheckLib.pm
trunk/libdevel-checklib-perl/t/lib/Helper.pm
Modified: trunk/libdevel-checklib-perl/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-checklib-perl/CHANGES?rev=72550&op=diff
==============================================================================
--- trunk/libdevel-checklib-perl/CHANGES (original)
+++ trunk/libdevel-checklib-perl/CHANGES Tue Apr 12 21:48:11 2011
@@ -1,3 +1,6 @@
+0.93 2011-04-09 Add support for gcc that have version number in the command name.
+ Fix about that the command path include space character.
+
0.92 2010-12-13 Patch included, thanks to CHM and SISYPHUS (see RT #63742)
0.91 2010-09-29 Version bump up.
Modified: trunk/libdevel-checklib-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-checklib-perl/META.yml?rev=72550&op=diff
==============================================================================
--- trunk/libdevel-checklib-perl/META.yml (original)
+++ trunk/libdevel-checklib-perl/META.yml Tue Apr 12 21:48:11 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Devel-CheckLib
-version: 0.92
+version: 0.93
abstract: ~
author: []
license: perl
@@ -8,20 +8,21 @@
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ Exporter: 0
+ File::Spec: 0
+ File::Temp: 0.16
IO::CaptureOutput: 1.0801
+ perl: 5.00405
Test::More: 0.62
-requires:
- Exporter: 0
- File::Spec: 0
- File::Temp: 0.16
- perl: 5.00405
resources:
repository: http://github.com/mattn/p5-Devel-CheckLib
no_index:
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.56
+generated_by: ExtUtils::MakeMaker version 6.55_02
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
Modified: trunk/libdevel-checklib-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-checklib-perl/debian/changelog?rev=72550&op=diff
==============================================================================
--- trunk/libdevel-checklib-perl/debian/changelog (original)
+++ trunk/libdevel-checklib-perl/debian/changelog Tue Apr 12 21:48:11 2011
@@ -1,8 +1,9 @@
-libdevel-checklib-perl (0.92-2) UNRELEASED; urgency=low
+libdevel-checklib-perl (0.93-1) UNRELEASED; urgency=low
* Added myself to Uploaders
+ * New upstream release
- -- Nicholas Bamber <nicholas at periapt.co.uk> Tue, 12 Apr 2011 22:49:25 +0100
+ -- Nicholas Bamber <nicholas at periapt.co.uk> Tue, 12 Apr 2011 22:51:36 +0100
libdevel-checklib-perl (0.92-1) unstable; urgency=low
Modified: trunk/libdevel-checklib-perl/lib/Devel/CheckLib.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-checklib-perl/lib/Devel/CheckLib.pm?rev=72550&op=diff
==============================================================================
--- trunk/libdevel-checklib-perl/lib/Devel/CheckLib.pm (original)
+++ trunk/libdevel-checklib-perl/lib/Devel/CheckLib.pm Tue Apr 12 21:48:11 2011
@@ -5,7 +5,7 @@
use 5.00405; #postfix foreach
use strict;
use vars qw($VERSION @ISA @EXPORT);
-$VERSION = '0.92';
+$VERSION = '0.93';
use Config qw(%Config);
use Text::ParseWords 'quotewords';
@@ -255,7 +255,7 @@
}
warn "# @sys_cmd\n" if $args{debug};
my $rv = $args{debug} ? system(@sys_cmd) : _quiet_system(@sys_cmd);
- push @missing, $header if $rv != 0 || ! -x $exefile;
+ push @missing, $header if $rv != 0 || ! -x $exefile;
_cleanup_exe($exefile);
unlink $cfile;
}
@@ -308,7 +308,9 @@
warn "# @sys_cmd\n" if $args{debug};
my $rv = $args{debug} ? system(@sys_cmd) : _quiet_system(@sys_cmd);
push @missing, $lib if $rv != 0 || ! -x $exefile;
- push @wrongresult, $lib if $rv == 0 && -x $exefile && system(File::Spec->rel2abs($exefile)) != 0;
+ my $absexefile = File::Spec->rel2abs($exefile);
+ $absexefile = '"'.$absexefile.'"' if $absexefile =~ m/\s/;
+ push @wrongresult, $lib if $rv == 0 && -x $exefile && system($absexefile) != 0;
_cleanup_exe($exefile);
}
unlink $cfile;
Modified: trunk/libdevel-checklib-perl/t/lib/Helper.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-checklib-perl/t/lib/Helper.pm?rev=72550&op=diff
==============================================================================
--- trunk/libdevel-checklib-perl/t/lib/Helper.pm (original)
+++ trunk/libdevel-checklib-perl/t/lib/Helper.pm Tue Apr 12 21:48:11 2011
@@ -13,7 +13,7 @@
use vars qw/@EXPORT @ISA/;
@ISA = qw/Exporter/;
@EXPORT = qw(
- create_testlib
+ create_testlib
find_compiler
find_binary
);
@@ -42,13 +42,15 @@
my $code_fh = IO::File->new("${libname}.c", ">");
print {$code_fh} "int libversion() { return 42; }\nint foo() { return 0; }\n";
$code_fh->close;
-
+
my $cc = $Config{cc};
- my $rv =
+ my $gccv = $Config{gccversion};
+ my $rv =
$cc eq 'gcc' ? _gcc_lib( $libname ) :
$cc eq 'cc' ? _gcc_lib( $libname ) :
$cc eq 'cl' ? _cl_lib( $libname ) :
- undef ;
+ $gccv ? _gcc_lib( $libname ) :
+ undef ;
chdir $orig_wd;
return $rv ? canonpath($tempdir) : undef;
More information about the Pkg-perl-cvs-commits
mailing list