]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Fix detection of build dependencies for buildd logs.
[blhc/blhc.git] / bin / blhc
index 3ee85373e188ec7e52e18cce100b5294ebe77d5c..38d0834cd4c1ddc37b70602cf0d186f64fc769ae 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -729,9 +729,11 @@ foreach my $file (@ARGV) {
             }
         }
 
-        # Debian's build daemons use Build-Depends: for the build
-        # dependencies, but pbuilder just uses Depends:; support both.
-        if (index($line, 'Build-Depends: ') == 0
+        # Debian's build daemons use "Filtered Build-Depends:" (or just
+        # "Build-Depends:" in older versions) for the build dependencies, but
+        # pbuilder uses "Depends:"; support both.
+        if (index($line, 'Filtered Build-Depends: ') == 0
+                or index($line, 'Build-Depends: ') == 0
                 or index($line, 'Depends: ') == 0) {
             # If hardening wrapper is used (wraps calls to gcc and adds
             # hardening flags automatically) we can't perform any checks,