From 199c383918c4dd636b0f5e09cb191c8f665b7884 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 26 Nov 2011 12:02:54 +0000 Subject: [PATCH] slightly nicer display, especially in the presence of a progress meter on long lists of WANTLIBs. --- infrastructure/bin/check-lib-depends | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/infrastructure/bin/check-lib-depends b/infrastructure/bin/check-lib-depends index 391cc538033..32d6b0856bc 100755 --- a/infrastructure/bin/check-lib-depends +++ b/infrastructure/bin/check-lib-depends @@ -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 # # 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);