Subject: | [PATCH] Makefile.PL fixes for perl 5.12.0 |
Date: | Sat, 24 Apr 2010 16:44:45 +0900 |
To: | bug-Class-DBI-Pg [...] rt.cpan.org |
From: | Ansgar Burchardt <ansgar [...] 43-1.org> |
Hi,
Class-DBI-Pg fails to build with perl 5.12.0:
Invalid version format (non-numeric data) at
/usr/share/perl/5.12/ExtUtils/MakeMaker.pm line 467.
This is due to the presence of comparison operators for required module
versions in Makefile.PL.
The attached patch was introduced in Debian to fix this problem. It
also adds 'NAME' => 'Class::DBI::Pg' as there was a warning about this.
Please consider applying it in the next release.
Regards,
Ansgar
From: Ansgar Burchardt <ansgar@43-1.org>
Date: Sat, 24 Apr 2010 16:30:52 +0900
Bug-Debian: http://bugs.debian.org/578990
Origin: vendor
Subject: Fix error in Makefile.PL
--- libclass-dbi-pg-perl.orig/Makefile.PL
+++ libclass-dbi-pg-perl/Makefile.PL
@@ -2,11 +2,12 @@
use ExtUtils::MakeMaker;
WriteMakefile
(
+ 'NAME' => 'Class::DBI::Pg',
'DISTNAME' => 'Class-DBI-Pg',
'VERSION_FROM' => 'lib/Class/DBI/Pg.pm',
'PREREQ_PM' => {
- 'Class::DBI' => '>= 0.89',
- 'DBD::Pg' => '>= 1.13',
+ 'Class::DBI' => '0.89',
+ 'DBD::Pg' => '1.13',
'Test::More' => '0'
},
'INSTALLDIRS' => 'site',