[SCM] Debian packaging of libois-perl branch, master, updated. 04798a39bbd276d07c3e161795dcb1647743e22e

gregor herrmann gregoa at debian.org
Mon Aug 8 19:12:58 UTC 2011


The following commit has been merged in the master branch:
commit ef47fc3aa3868217da1309a41c772ea08f353688
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Aug 8 21:03:00 2011 +0200

    Add a patch to include $Config{ccflags} in CCFLAGS.
    
    Closes: #636655

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..64dfc8c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-config-ccflags.patch
diff --git a/debian/patches/use-config-ccflags.patch b/debian/patches/use-config-ccflags.patch
new file mode 100644
index 0000000..83bbeca
--- /dev/null
+++ b/debian/patches/use-config-ccflags.patch
@@ -0,0 +1,26 @@
+Description: Include $Config{ccflags} in CCFLAGS
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/636655
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-08-08
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,6 +1,7 @@
+ use ExtUtils::MakeMaker;
+ use strict;
+ use warnings;
++use Config;
+ 
+ my $MIN_OIS_VERSION = '1.2.0';
+ 
+@@ -44,7 +45,7 @@
+             chomp $str;
+             my ($v, $s) = split /\./, $str;
+             if (($v == 4 && $s >= 2) || $v > 4) {
+-                return {'CCFLAGS' => '-Wno-write-strings'};
++                return {'CCFLAGS' => "-Wno-write-strings $Config{ccflags}"};
+             }
+         }
+     }

-- 
Debian packaging of libois-perl



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