From 4e8bcfc35e6e7b3b1e8a7a669a216b81b4fc0166 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 26 Feb 2005 13:21:58 +0000 Subject: [PATCH] oops, Wantlib needs special treatment, removes bogus warnings. --- infrastructure/package/check-common-dirs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/infrastructure/package/check-common-dirs b/infrastructure/package/check-common-dirs index fc0e4d0ead1..748ed303d69 100644 --- a/infrastructure/package/check-common-dirs +++ b/infrastructure/package/check-common-dirs @@ -1,6 +1,6 @@ #!/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 # # Permission to use, copy, modify, and distribute this software for any @@ -73,6 +73,11 @@ sub check_common_dirs $t->{deps}->{$item->{def}} = 1; } +package OpenBSD::PackingElement::Wantlib; +sub check_common_dirs +{ +} + package main; sub analyze @@ -180,7 +185,6 @@ for my $pkgname (@ARGV) { $true_package->close(); my $plist = OpenBSD::PackingList->fromfile($dir.CONTENTS); rmtree($dir); - $plist->forget(); analyze($plist, $db); }