X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=38d0834cd4c1ddc37b70602cf0d186f64fc769ae;hp=3ee85373e188ec7e52e18cce100b5294ebe77d5c;hb=e8c9cdc7a80e630245d179fd702de3c8beb12abb;hpb=edba11f17ab4cf7f7094da6f6cddb0b0e243fb88 diff --git a/bin/blhc b/bin/blhc index 3ee8537..38d0834 100755 --- 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,