[pdl] 01/01: Add patch to use CPPFLAGS for pdl executable.

Bas Couwenberg sebastic at debian.org
Tue Jun 14 22:22:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pdl.

commit 2199d1f3720d30946dbaffb06c54f8fb876150f8
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jun 13 11:24:53 2016 +0200

    Add patch to use CPPFLAGS for pdl executable.
---
 debian/changelog                  |  1 +
 debian/patches/pdl-cppflags.patch | 14 ++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 516df2b..94229d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,7 @@ pdl (1:2.016-1) UNRELEASED; urgency=medium
   * Override dh_install to use --list-missing.
   * Drop libhdf4-0-alt from Suggests, already included in ${shlibs:Depends}.
   * Add patch to fix spelling errors.
+  * Add patch to use CPPFLAGS for pdl executable.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 12 Jun 2016 16:00:28 +0200
 
diff --git a/debian/patches/pdl-cppflags.patch b/debian/patches/pdl-cppflags.patch
new file mode 100644
index 0000000..c44cc86
--- /dev/null
+++ b/debian/patches/pdl-cppflags.patch
@@ -0,0 +1,14 @@
+Description: Use CPPFLAGS for pdl executable.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -583,7 +583,7 @@ EOPS
+ # support the `$<` variable in explicit rules
+ $text .= <<EOT if $^O !~ /MSWin/;
+ pdl$Config::Config{exe_ext} : pdl.c
+-	\$(CC) pdl.c -o \$\@
++	\$(CC) \$(CFLAGS) \$(CPPFLAGS) pdl.c -o \$\@
+ EOT
+ 
+ $text .= << 'EOT' if $^O =~ /MSWin/;
diff --git a/debian/patches/series b/debian/patches/series
index 8623775..95fbf9f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@
 #gsl-2.patch
 doc_vendor_install.patch
 spelling-errors.patch
+pdl-cppflags.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pdl.git



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