Преглед на файлове

Dpkg::BuildOptions: Really set DEB_BUILD_OPTIONS

Discovered by Daniel Shepler.
Frank Lichtenheld преди 19 години
родител
ревизия
2e6845caaa
променени са 3 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 2 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 2 0
      scripts/Dpkg/BuildOptions.pm

+ 2 - 0
ChangeLog

@@ -2,6 +2,8 @@
 
 	* scripts/Dpkg/BuildOptions.pm (parse): Add
 	support for nocheck.
+	(set): Really set DEB_BUILD_OPTIONS. Discovered
+	by Daniel Shepler.
 
 2007-10-11  Guillem Jover  <guillem@debian.org>
 

+ 2 - 0
debian/changelog

@@ -37,6 +37,8 @@ dpkg (1.14.8) UNRELEASED; urgency=low
     Closes: #382673
   * Various small fixes to the manpages suggested by Helge Kreutzmann.
     Closes: #445858
+  * Fix Dpkg::BuildOptions (and thereby dpkg-buildpackage) to really
+    set DEB_BUILD_OPTIONS. Found by Daniel Shepler. Closes: #446119
 
   [ Guillem Jover ]
   * Use shipped perl modules when calling perl programs at build time.

+ 2 - 0
scripts/Dpkg/BuildOptions.pm

@@ -33,6 +33,8 @@ sub set {
 	    $env .= "$k,";
 	}
     }
+
+    $ENV{DEB_BUILD_OPTIONS} = $env if $env;
 }
 
 1;