From: Anders Kaseorg Date: Thu, 29 Apr 2010 07:35:03 +0000 (-0400) Subject: Fix CDBS 0.4.77’s incorrect splitting of multiword $(CC). X-Git-Tag: debian/1.11-0debathena1~6 X-Git-Url: http://andersk.mit.edu/gitweb/nss_nonlocal.git/commitdiff_plain/3cad8137ea52b838a798c8be7f26525fe2993134 Fix CDBS 0.4.77’s incorrect splitting of multiword $(CC). See http://bugs.debian.org/576967 . Signed-off-by: Anders Kaseorg --- diff --git a/debian/changelog b/debian/changelog index 4ef61cb..630148d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ libnss-nonlocal (1.11-0debathena1) UNRELEASED; urgency=low users * Update build flags for biarch packages (fixes lib32nss-nonlocal path on squeeze). + * Fix FTBFS on squeeze due to CDBS’s buggy splitting of multiword + $(CC) (Debian bug #576967). * Bump Standards-Version to 3.8.4 (no changes required). -- Anders Kaseorg Thu, 29 Apr 2010 00:12:44 -0400 diff --git a/debian/rules b/debian/rules index c92070c..e0d25f3 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,10 @@ DEB_AUTO_UPDATE_AUTOMAKE = 1.9 DEB_AUTO_UPDATE_ACLOCAL = 1.9 DEB_AUTO_UPDATE_LIBTOOL = pre +# Fix http://bugs.debian.org/576967 : CDBS 0.4.77 in squeeze +# incorrectly splits multiword $(CC) and $(CXX). +override cdbs_set_nondefaultvars = $(foreach var,$1,$(if $(filter-out $(origin $(var)),default),$(var)='$($(var))')) + include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk