Package: miscfiles
Version: 1.4.2.dfsg.1-7
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch hardy

Hi Thomas,

The miscfiles debian/rules has an error in the handling of the CFLAGS
variable: since CFLAGS can be set to contain multiple options, it needs to
be quoted when being set on the ./configure commandline, otherwise the shell
will parse it into multiple words and give a build failure.

Attached is a patch which corrects this issue.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]
diff -u miscfiles-1.4.2.dfsg.1/debian/rules miscfiles-1.4.2.dfsg.1/debian/rules
--- miscfiles-1.4.2.dfsg.1/debian/rules
+++ miscfiles-1.4.2.dfsg.1/debian/rules
@@ -48,7 +48,7 @@
 configure: stamp-configure
 
 stamp-configure:
-	CC=$(CC) CFLAGS=$(CFLAGS)  ./configure --prefix=/usr \
+	CC=$(CC) CFLAGS="$(CFLAGS)"  ./configure --prefix=/usr \
            && touch stamp-configure
 
 clean:
diff -u miscfiles-1.4.2.dfsg.1/debian/changelog miscfiles-1.4.2.dfsg.1/debian/changelog
--- miscfiles-1.4.2.dfsg.1/debian/changelog
+++ miscfiles-1.4.2.dfsg.1/debian/changelog
@@ -1,3 +1,10 @@
+miscfiles (1.4.2.dfsg.1-7ubuntu1) hardy; urgency=low
+
+  * debian/rules: properly quote CFLAGS when passing them to configure.
+    LP: #194530.
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Sun, 24 Feb 2008 07:32:13 +0000
+
 miscfiles (1.4.2.dfsg.1-7) unstable; urgency=low
 
   * debian/templates: Can't have comments if we aren't using po-debconf.

Reply via email to