Przeglądaj źródła

Fix dpkg-checkbuilddeps calling of parsedep. It wasn't setting use_arch.

Adam Heath 23 lat temu
rodzic
commit
956c58aaf3
3 zmienionych plików z 10 dodań i 4 usunięć
  1. 4 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 4 4
      scripts/dpkg-checkbuilddeps.pl

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Sat Oct 25 12:47:22 CDT 2003 Adam Heath <doogie@debian.org>
+  * scripts/dpkg-checkbuilddeps.pl: Fix dpkg-checkbuilddeps calling of
+    parsedep.  It wasn't setting use_arch.
+
 Tue Sep 23 12:20:35 CDT 2003 Adam Heath <doogie@debian.org>
 
   * configure.in: Add man/es/Makefile.

+ 2 - 0
debian/changelog

@@ -50,6 +50,8 @@ dpkg (1.10.16) unstable; urgency=low
     Fix Danish translation of(was missing the leading space): " does not
     appear to be available\n"  Closes: #192972
   * Fix md5sum when handling large files.  Closes: #162691
+  * Fix dpkg-checkbuilddeps calling of parsedep.  It wasn't setting
+    use_arch.  Closes: #212796.
 
  -- Adam Heath <doogie@debian.org>  Tue, 23 Sep 2003 12:12:38 -0500
 

+ 4 - 4
scripts/dpkg-checkbuilddeps.pl

@@ -41,16 +41,16 @@ local $/='';
 
 my $dep_regex=qr/[ \t]*(([^\n]+|\n[ \t])*)\s/; # allow multi-line
 if (defined($fi{"C Build-Depends"})) {
-	push @unmet, build_depends(parsedep($fi{"C Build-Depends"}), @status);
+	push @unmet, build_depends(parsedep($fi{"C Build-Depends"}, 1), @status);
 }
 if (defined($fi{"C Build-Conflicts"})) {
-	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts"}), @status);
+	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts"}, 1), @status);
 }
 if (! $binary_only && defined($fi{"C Build-Depends-Indep"})) {
-	push @unmet, build_depends(parsedep($fi{"C Build-Depends-Indep"}), @status);
+	push @unmet, build_depends(parsedep($fi{"C Build-Depends-Indep"}, 1), @status);
 }
 if (! $binary_only && defined($fi{"C Build-Conflicts-Indep"})) {
-	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts-Indep"}), @status);
+	push @unmet, build_conflicts(parsedep($fi{"C Build-Conflicts-Indep"}, 1), @status);
 }
 
 if (@unmet) {