[SCM] qtruby packaging branch, master, updated. 36cb55de4ad40a469d6605960e3b5ee4036253b3

Pino Toscano pino at alioth.debian.org
Mon Sep 26 14:02:40 UTC 2011


The following commit has been merged in the master branch:
commit 894f76e601062ca806323e4844fbf1abe28236ed
Author: Pino Toscano <pino at debian.org>
Date:   Mon Sep 26 15:29:35 2011 +0200

    manually export CXXFLAGS and LDFLAGS from dpkg-buildflags now
    
    dpkg-buildpackage does not do that anymore
---
 debian/changelog |    2 ++
 debian/rules     |    3 +++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b62e1d8..1cad586 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ qtruby (4:4.7.1-0r1) UNRELEASED; urgency=low
   * Update rules:
     - pass sodeps as dh addon
     - do not compress .rb, .ui, .mng, and .xbel files (found in the examples)
+    - manually export CXXFLAGS and LDFLAGS from dpkg-buildflags now,
+      as dpkg-buildpackage does not do that anymore
   * Update control:
     - ruby-qt4-dbg: make it break/replace kdebindings-dbg, and recommend
       libruby1.8-dbg
diff --git a/debian/rules b/debian/rules
index 02fcc23..1150001 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,9 @@ CMAKE_FLAGS := \
   -DCUSTOM_RUBY_SITE_ARCH_DIR=/usr/lib/ruby/1.8/$(RUBY_SITEARCH) \
   $(NULL)
 
+export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+
 override_dh_install:
 	dh_install --list-missing
 

-- 
qtruby packaging



More information about the pkg-kde-commits mailing list