[libitpp] 03/03: Fix the itpp-config cflags as well

Kumar Appaiah akumar at moszumanska.debian.org
Sun Mar 1 15:41:26 UTC 2015


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

akumar pushed a commit to tag debian/experimental/4.3.1-4
in repository libitpp.

commit 840788bb8a491b0fe0b7b1931bfafe6ea81bd609
Author: Kumar Appaiah <akumar at debian.org>
Date:   Sun Mar 1 20:55:39 2015 +0530

    Fix the itpp-config cflags as well
---
 debian/patches/itpp-pc-fix.diff | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/debian/patches/itpp-pc-fix.diff b/debian/patches/itpp-pc-fix.diff
index d44bc10..a65a5f4 100644
--- a/debian/patches/itpp-pc-fix.diff
+++ b/debian/patches/itpp-pc-fix.diff
@@ -16,3 +16,25 @@ Index: libitpp/itpp.pc.cmake.in
  Libs.private:@ITPP_LIBS@
 -Cflags: -I${includedir} @CMAKE_CXX_FLAGS_RELEASE@
 +Cflags: -I${includedir}
+Index: libitpp/itpp-config.cmake.in
+===================================================================
+--- libitpp.orig/itpp-config.cmake.in
++++ libitpp/itpp-config.cmake.in
+@@ -67,7 +67,7 @@ while test $# -gt 0; do
+       if test "x$debug_flag" = xyes; then
+       flags="${flags} @CMAKE_CXX_FLAGS_DEBUG@"
+       else
+-      flags="${flags} @CMAKE_CXX_FLAGS_RELEASE@"
++      flags="${flags}"
+       fi
+       ;;
+     --cflags-deb*)
+@@ -75,7 +75,7 @@ while test $# -gt 0; do
+       exit 0
+       ;;
+     --cflags-opt*)
+-  echo "-I${includedir} @CMAKE_CXX_FLAGS_RELEASE@"
++  echo "-I${includedir}"
+       exit 0
+       ;;
+     --libs)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libitpp.git



More information about the debian-science-commits mailing list