Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release-src > by-pkgid > c816f94b0aa87f6b90d6deb743283897 > files > 1

perl-Device-Cdio-0.2.4-10mdv2010.1.src.rpm

Author: Martín Ferrari <martin.ferrari@gmail.com>
Description: Some string splitting is generating a empty
array element that's passed to exec, so cc interprets it as a
parameter and it fails.
(Patch sent to http://rt.cpan.org/Public/Bug/Display.html?id=28132)
--- a/Build.PL
+++ b/Build.PL
@@ -319,6 +319,10 @@ if ('cygwin' eq $Config{osname} && 
     $ldflags .= " -bundle -flat_namespace";
 }
 
+$ccflags =~ s/^\s+//;
+$ccflags =~ s/\s+$//;
+$ldflags =~ s/^\s+//;
+$ldflags =~ s/\s+$//;
 my $class = Module::Build->subclass( code => $code );
 
 my $builder = $class->new(