[Python-modules-commits] r15432 - in packages/gamera/trunk/debian (changelog control rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Jan 31 18:44:54 UTC 2011


    Date: Monday, January 31, 2011 @ 18:44:51
  Author: jwilk
Revision: 15432

Use dpkg-buildflags to set CFLAGS and LDFLAGS.

Modified:
  packages/gamera/trunk/debian/changelog
  packages/gamera/trunk/debian/control
  packages/gamera/trunk/debian/rules

Modified: packages/gamera/trunk/debian/changelog
===================================================================
--- packages/gamera/trunk/debian/changelog	2011-01-30 15:54:40 UTC (rev 15431)
+++ packages/gamera/trunk/debian/changelog	2011-01-31 18:44:51 UTC (rev 15432)
@@ -5,6 +5,8 @@
   * Overhaul debian/rules.
   * Update debian/copyright to the latest DEP-5 version.
   * Include full text of CC-BY-SA-3.0 in debian/copyright.
+  * Use dpkg-buildflags to set CFLAGS and LDFLAGS.
+    + Build depend on dpkg-dev (>= 1.15.7).
 
  -- Jakub Wilk <jwilk at debian.org>  Thu, 13 Jan 2011 16:52:07 +0100
 

Modified: packages/gamera/trunk/debian/control
===================================================================
--- packages/gamera/trunk/debian/control	2011-01-30 15:54:40 UTC (rev 15431)
+++ packages/gamera/trunk/debian/control	2011-01-31 18:44:51 UTC (rev 15432)
@@ -5,7 +5,7 @@
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/gamera/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/gamera/trunk/
-Build-Depends: debhelper (>= 7.3.5~),
+Build-Depends: debhelper (>= 7.3.5~), dpkg-dev (>= 1.15.7~),
  python-support (>= 0.90), python-all-dev, python-all-dbg,
  python-codespeak-lib, python-imaging, python-imaging-dbg, python-docutils, python-pygments, 
  libtiff4-dev, libpng12-dev,

Modified: packages/gamera/trunk/debian/rules
===================================================================
--- packages/gamera/trunk/debian/rules	2011-01-30 15:54:40 UTC (rev 15431)
+++ packages/gamera/trunk/debian/rules	2011-01-31 18:44:51 UTC (rev 15432)
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+export CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
+export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
+
 ifneq ($(filter parallel=%,$(DEB_BUILD_OPTIONS)),)
     makeflags = -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif




More information about the Python-modules-commits mailing list