X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=bin%2Fblhc;h=bfdcfc575ee7642ae81fff9faf6c86c2ae62dcc0;hb=76236e46263e6d2cc6ed9451ae5ef1ff63711ba7;hp=403775086fb88a849a5aae43791fa65bcff393e8;hpb=6f81829798c6e302eb5ceea91ac4a41452754f98;p=blhc%2Fblhc.git diff --git a/bin/blhc b/bin/blhc index 4037750..bfdcfc5 100755 --- a/bin/blhc +++ b/bin/blhc @@ -723,7 +723,10 @@ foreach my $file (@ARGV) { } } - if (index($line, 'Build-Depends: ') == 0) { + # Debian's build daemons use Build-Depends: for the build + # dependencies, but pbuilder just uses Depends:; support both. + if (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, # abort.