[SCM] Packaging of Perlbal::XS::HTTPHeaders in Debian branch, master, updated. 01ff704d2cc9a8d55bef7e889879103916e7a001
Jonathan Steinert
hachi at saymedia.com
Thu Mar 22 01:00:16 UTC 2012
The following commit has been merged in the master branch:
commit b4bb6a6a0c5ed266dd939e9d01fffb35ca98edd7
Author: Jonathan Steinert <hachi at saymedia.com>
Date: Wed Mar 21 16:48:07 2012 -0700
Add patches: LD=g++, clean -> rm const-*.inc
diff --git a/debian/patches/clean_remove_const_files b/debian/patches/clean_remove_const_files
new file mode 100644
index 0000000..ca17b4f
--- /dev/null
+++ b/debian/patches/clean_remove_const_files
@@ -0,0 +1,10 @@
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -20,6 +20,7 @@
+ CCFLAGS => '-g',
+ CC => 'g++',
+ LD => 'g++',
++ clean => { FILES => "const-c.inc const-xs.inc" },
+ );
+ if (eval {require ExtUtils::Constant; 1}) {
+ # If you edit these definitions to change the constants used by this module,
diff --git a/debian/patches/g++_for_linking b/debian/patches/g++_for_linking
new file mode 100644
index 0000000..52b7d15
--- /dev/null
+++ b/debian/patches/g++_for_linking
@@ -0,0 +1,18 @@
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -12,7 +12,6 @@
+ ($] >= 5.005 ? ## Add these new keywords supported since 5.005
+ (ABSTRACT_FROM => 'lib/Perlbal/XS/HTTPHeaders.pm', # retrieve abstract from module
+ AUTHOR => 'Mark Smith <junior at danga.com>') : ()),
+- LIBS => ['-lstdc++'], # e.g., '-lm'
+ DEFINE => '', # e.g., '-DHAVE_SOMETHING'
+ INC => '-I.', # e.g., '-I. -I/usr/include/other'
+ # Un-comment this if you add C files to link with later:
+@@ -20,6 +19,7 @@
+ XSOPT => '-C++',
+ CCFLAGS => '-g',
+ CC => 'g++',
++ LD => 'g++',
+ );
+ if (eval {require ExtUtils::Constant; 1}) {
+ # If you edit these definitions to change the constants used by this module,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..72f6410
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+g++_for_linking
+clean_remove_const_files
--
Packaging of Perlbal::XS::HTTPHeaders in Debian
More information about the Pkg-perl-cvs-commits
mailing list