[SCM] Packaging of Perlbal::XS::HTTPHeaders in Debian branch, master, updated. debian/0.20-1-2-g52d0812
gregor herrmann
gregoa at debian.org
Fri Mar 23 19:14:04 UTC 2012
The following commit has been merged in the master branch:
commit b25d323ebbcc6794bd10eb3227fa44cf9e1c2ac4
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Mar 23 20:12:40 2012 +0100
Add patch config_ccflags to pass the same CCFLAGS perl was combined with.
This should fix weird errors on 32-bit architectures.
diff --git a/debian/patches/config_ccflags b/debian/patches/config_ccflags
new file mode 100644
index 0000000..899e274
--- /dev/null
+++ b/debian/patches/config_ccflags
@@ -0,0 +1,26 @@
+Description: Add $Config{ccflags} to CCFLAGS
+ Since 5.14 we need the same CCFLAGS Perl itself was compiled with.
+ Cf. e.g. http://www.nntp.perl.org/group/perl.perl5.porters/2011/04/msg171536.html
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-03-23
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,5 +1,6 @@
+ use 5.008;
+ use ExtUtils::MakeMaker;
++use Config;
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+ # the contents of the Makefile that is written.
+ WriteMakefile(
+@@ -18,7 +19,7 @@
+ # Un-comment this if you add C files to link with later:
+ OBJECT => 'headers.o HTTPHeaders.o', # link all the C files too
+ XSOPT => '-C++',
+- CCFLAGS => '-g',
++ CCFLAGS => "-g $Config{ccflags}",
+ CC => 'g++',
+ clean => { FILES => "const-c.inc const-xs.inc" },
+ );
diff --git a/debian/patches/series b/debian/patches/series
index 634bac8..26c5359 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
clean_remove_const_files
+config_ccflags
--
Packaging of Perlbal::XS::HTTPHeaders in Debian
More information about the Pkg-perl-cvs-commits
mailing list