From 3d3e5de2857180288b454da55b798ea3347e5080 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 26 Nov 2011 17:27:58 +0000 Subject: fix reporting of weird libs in partial-*, as seen by fries@, who always manages to run into strange corners headlong ;) --- usr.sbin/pkg_add/OpenBSD/PkgCheck.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm index edf23c7922a..a59c359b8cd 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCheck.pm,v 1.30 2011/07/17 09:56:12 espie Exp $ +# $OpenBSD: PkgCheck.pm,v 1.31 2011/11/26 17:27:57 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -518,7 +518,7 @@ sub sanity_check $state->safe($name)); $self->may_remove($state, $name); } - $plist->mark_available_lib($plist->pkgname); + $plist->mark_available_lib($plist->pkgname, $state); $state->{exists}{$plist->pkgname} = 1; }); } -- cgit v1.2.3