summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-12-24 10:32:00 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-12-24 10:32:00 +0000
commitc3ef586bb771e7218a8e9fdc5bb55fe1aae788ac (patch)
tree65f7113585cc9b74dd35953fde7697f34135b110 /usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
parent3035d99ba88a020fadc14e1661839e04f85c0eb1 (diff)
pass state around.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgAdd.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm4
1 files changed, 2 insertions, 2 deletions
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 <espie@openbsd.org>
#
@@ -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);