The following commit has been merged in the sid branch:
commit 570886809efd1b551072fe52ccfd4e50a4175375
Author: Raphaël Hertzog <[email protected]>
Date:   Thu Sep 29 14:23:24 2011 +0200

    dpkg-buildflags(1): drop the quotes when setting DEB_BUILD_MAINT_OPTIONS
    
    DEB_BUILD_MAINT_OPTIONS is usually set in a Makefile and make puts the
    quotes in the variable value (i.e. it doesn't use them to delimit the
    value). This is obviously not wanted so let's fix the examples.

diff --git a/debian/changelog b/debian/changelog
index 982563a..13fadd8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ dpkg (1.16.1.1) UNRELEASED; urgency=low
     for unrecorded changes.
   * Let dpkg-source --commit create debian/patches when required.
   * Fix dpkg-buildflags --dump to return 0 as exit code and not 1.
+  * Update dpkg-buildflags(1) to not include quotes in the examples
+    setting DEB_BUILD_MAINT_OPTIONS.
 
  -- Raphaël Hertzog <[email protected]>  Tue, 27 Sep 2011 08:15:51 +0200
 
diff --git a/man/dpkg-buildflags.1 b/man/dpkg-buildflags.1
index d469751..ba296af 100644
--- a/man/dpkg-buildflags.1
+++ b/man/dpkg-buildflags.1
@@ -175,13 +175,13 @@ value with the "+" and "\-" modifier. For example, to 
enable the
 "pie" feature and disable the "fortify" feature you can do this
 in \fBdebian/rules\fP:
 .P
-  export DEB_BUILD_MAINT_OPTIONS="hardening=+pie,\-fortify"
+  export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,\-fortify
 .P
 The special feature \fBall\fP can be used to enable or disable all
 hardening features at the same time. Thus disabling everything and
 enabling only "format" and "fortify" can be achieved with:
 .P
-  export DEB_BUILD_MAINT_OPTIONS="hardening=\-all,+format,+fortify"
+  export DEB_BUILD_MAINT_OPTIONS=hardening=\-all,+format,+fortify
 .
 .TP
 .B format

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to