slightly nicer display, especially in the presence of a progress meter

on long lists of WANTLIBs.
This commit is contained in:
espie 2011-11-26 12:02:54 +00:00
parent 7b925859cf
commit 199c383918

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# $OpenBSD: check-lib-depends,v 1.12 2011/11/16 10:37:35 espie Exp $
# $OpenBSD: check-lib-depends,v 1.13 2011/11/26 12:02:54 espie Exp $
# Copyright (c) 2004-2010 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@ -213,7 +213,7 @@ sub say_with_context
{
my $state = shift;
if ($state->{context}) {
$state->say("#1:", $state->{context});
$state->say("\n#1:", $state->{context});
undef $state->{context};
}
$state->say(@_);
@ -429,7 +429,6 @@ sub analyze
$extra->{$k} = 1;
}
$self->print_list($state, "Extra: ", $extra);
print "\n";
$self->print_list($state, "WANTLIB +=", $r->{wantlib});
if ($state->{full}) {
$needed_libs->dump(\*STDOUT);