r16519 - in /desktop/unstable/vte/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Fri Jul 11 17:27:34 UTC 2008


Author: lool
Date: Fri Jul 11 17:27:34 2008
New Revision: 16519

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16519
Log:
Allow overriding CFLAGS per package as cdbs only allows this for the
makefile class.

Modified:
    desktop/unstable/vte/debian/changelog
    desktop/unstable/vte/debian/rules

Modified: desktop/unstable/vte/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vte/debian/changelog?rev=16519&op=diff
==============================================================================
--- desktop/unstable/vte/debian/changelog (original)
+++ desktop/unstable/vte/debian/changelog Fri Jul 11 17:27:34 2008
@@ -23,6 +23,8 @@
   [ Loic Minier ]
   * Implement 25_enable_static_ncurses differently.
   * Drop dup --disable-maintainer-mode flag.
+  * Allow overriding CFLAGS per package as cdbs only allows this for the
+    makefile class.
 
  -- Loic Minier <lool at dooz.org>  Thu, 26 Jun 2008 20:44:36 +0200
 

Modified: desktop/unstable/vte/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vte/debian/rules?rev=16519&op=diff
==============================================================================
--- desktop/unstable/vte/debian/rules (original)
+++ desktop/unstable/vte/debian/rules Fri Jul 11 17:27:34 2008
@@ -34,7 +34,8 @@
 DEB_DESTDIR := $(CURDIR)/debian/tmp/main
 DEB_DESTDIR_$(udeb) := $(CURDIR)/debian/tmp/udeb
 
-CFLAGS_$(udeb) += -Os
+DEB_CONFIGURE_SCRIPT_ENV += CFLAGS=$(if $(CFLAGS_$(cdbs_curpkg)),"$(CFLAGS_$(cdbs_curpkg))","$(CFLAGS)")
+CFLAGS_$(udeb) += $(CFLAGS) -Os
 
 DEB_DH_INSTALL_ARGS = --sourcedir=$(if $(findstring $(udeb),$(cdbs_curpkg)),$(DEB_DESTDIR_$(udeb)),$(DEB_DESTDIR))
 




More information about the pkg-gnome-commits mailing list