From c3ef586bb771e7218a8e9fdc5bb55fe1aae788ac Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Fri, 24 Dec 2010 10:32:00 +0000 Subject: pass state around. --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/PkgAdd.pm') diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index cad65779184..e6b6fca68eb 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.18 2010/12/24 09:04:14 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.19 2010/12/24 10:31:59 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -787,7 +787,7 @@ sub really_add for my $handle ($set->newer) { my $pkgname = $handle->pkgname; my $plist = $handle->plist; - OpenBSD::SharedLibs::add_libs_from_plist($plist); + OpenBSD::SharedLibs::add_libs_from_plist($plist, $state); OpenBSD::Add::tweak_plist_status($plist, $state); $plist->to_cache; OpenBSD::Add::register_installation($plist); -- cgit v1.2.3