[Pkg-tcltk-commits] r562 - tclreadline/trunk/debian

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Mon Apr 14 11:07:09 UTC 2008


Author: sgolovan-guest
Date: 2008-04-14 11:07:08 +0000 (Mon, 14 Apr 2008)
New Revision: 562

Modified:
   tclreadline/trunk/debian/changelog
   tclreadline/trunk/debian/rules
Log:
[tclreadline]
  * Quoted CFLAGS in debian/rules when passing to the shell, not when
    assigning to a make variable; otherwise the quotes end up as part of
    the variable and many things go wrong, leading to a build failure
    (closes: #476025).


Modified: tclreadline/trunk/debian/changelog
===================================================================
--- tclreadline/trunk/debian/changelog	2008-04-01 16:32:18 UTC (rev 561)
+++ tclreadline/trunk/debian/changelog	2008-04-14 11:07:08 UTC (rev 562)
@@ -1,8 +1,11 @@
-tclreadline (2.1.0-6) UNRELEASED; urgency=low
+tclreadline (2.1.0-6) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Quoted CFLAGS in debian/rules when passing to the shell, not when
+    assigning to a make variable; otherwise the quotes end up as part of
+    the variable and many things go wrong, leading to a build failure
+    (closes: #476025).
 
- -- Sergei Golovan <sgolovan at debian.org>  Sat,  9 Feb 2008 11:10:33 +0300
+ -- Sergei Golovan <sgolovan at debian.org>  Mon, 14 Apr 2008 15:00:54 +0400
 
 tclreadline (2.1.0-5) unstable; urgency=low
 

Modified: tclreadline/trunk/debian/rules
===================================================================
--- tclreadline/trunk/debian/rules	2008-04-01 16:32:18 UTC (rev 561)
+++ tclreadline/trunk/debian/rules	2008-04-14 11:07:08 UTC (rev 562)
@@ -12,10 +12,10 @@
 export QUILT_PATCHES := debian/patches
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-CFLAGS="-g -O0 -Wall"
+CFLAGS=-g -O0 -Wall
 else
 # See bug #446335
-CFLAGS="-g -O2 -Wall"
+CFLAGS=-g -O2 -Wall
 endif
 
 DESTDIR = $(shell pwd)/debian/tclreadline
@@ -49,7 +49,7 @@
 		    --mandir=/usr/share/man \
 		    --with-tcl=/usr/lib \
 		    --with-tcl-includes=/usr/include/tcl && \
-	$(MAKE) CFLAGS=$(CFLAGS)
+	$(MAKE) CFLAGS="$(CFLAGS)"
 
 	touch build-stamp
 




More information about the Pkg-tcltk-commits mailing list