[SCM] branch, master, updated. debian/0.44-1-1-g3d2a70a

Dominic Hargreaves dom at earth.li
Tue Aug 23 21:37:39 UTC 2011


The following commit has been merged in the master branch:
commit 3d2a70a2b258d67f10e0fb0e0e78414fe8780d92
Author: Dominic Hargreaves <dom at earth.li>
Date:   Mon Aug 22 19:57:21 2011 +0100

    Add patch adding $Config{ccflags} to CCFLAGS to fix FTBFS with perl 5.14 (Closes: #638894)

diff --git a/debian/changelog b/debian/changelog
index 312d310..7aab892 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mongodb-perl (0.44-2) UNRELEASED; urgency=low
+
+  * Add patch adding $Config{ccflags} to CCFLAGS to fix FTBFS with
+    perl 5.14 (Closes: #638894)
+
+ -- Dominic Hargreaves <dom at earth.li>  Mon, 22 Aug 2011 19:56:28 +0100
+
 mongodb-perl (0.44-1) unstable; urgency=low
 
   * Add Vcs-* control fields
diff --git a/debian/patches/5.14-ccflags.patch b/debian/patches/5.14-ccflags.patch
new file mode 100644
index 0000000..2222c3c
--- /dev/null
+++ b/debian/patches/5.14-ccflags.patch
@@ -0,0 +1,21 @@
+Index: mongodb-perl/Makefile.PL
+===================================================================
+--- mongodb-perl.orig/Makefile.PL	2011-08-22 19:55:45.000000000 +0100
++++ mongodb-perl/Makefile.PL	2011-08-22 19:56:00.000000000 +0100
+@@ -2,6 +2,7 @@
+ use warnings;
+ use lib 'ext';
+ use inc::Module::Install;
++use Config;
+ 
+ name 'MongoDB';
+ perl_version '5.8.7';
+@@ -42,7 +43,7 @@
+ 
+ my $ccflags = makemaker_args->{CCFLAGS};
+ $ccflags = $ccflags . $archStr;
+-makemaker_args(CCFLAGS => $ccflags);
++makemaker_args(CCFLAGS => "$ccflags $Config{ccflags}");
+ 
+ makemaker_args(
+     dynamic_lib => {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9fd7c6c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+5.14-ccflags.patch

-- 




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