oops, Wantlib needs special treatment, removes bogus warnings.

This commit is contained in:
espie 2005-02-26 13:21:58 +00:00
parent 35bd1e3919
commit 4e8bcfc35e

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# $OpenBSD: check-common-dirs,v 1.5 2004/11/11 15:38:02 espie Exp $ # $OpenBSD: check-common-dirs,v 1.6 2005/02/26 13:21:58 espie Exp $
# Copyright (c) 2004 Marc Espie <espie@openbsd.org> # Copyright (c) 2004 Marc Espie <espie@openbsd.org>
# #
# Permission to use, copy, modify, and distribute this software for any # Permission to use, copy, modify, and distribute this software for any
@ -73,6 +73,11 @@ sub check_common_dirs
$t->{deps}->{$item->{def}} = 1; $t->{deps}->{$item->{def}} = 1;
} }
package OpenBSD::PackingElement::Wantlib;
sub check_common_dirs
{
}
package main; package main;
sub analyze sub analyze
@ -180,7 +185,6 @@ for my $pkgname (@ARGV) {
$true_package->close(); $true_package->close();
my $plist = OpenBSD::PackingList->fromfile($dir.CONTENTS); my $plist = OpenBSD::PackingList->fromfile($dir.CONTENTS);
rmtree($dir); rmtree($dir);
$plist->forget();
analyze($plist, $db); analyze($plist, $db);
} }