summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-02-13 19:35:01 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-02-13 19:35:01 +0000
commit22ee76f08f4100c64aef19de70f4d35f2d2474c7 (patch)
tree51a086cf5965a554072e04db40fcab76d5033025 /usr.sbin/pkg_add
parentae4888d07a50b1c373fdfd40d0c22e19979c681b (diff)
this one is non obvious enough it deserves a comment
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
index e858b89270c..f4a5538a39c 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.62 2014/02/13 16:58:08 espie Exp $
+# $OpenBSD: PkgAdd.pm,v 1.63 2014/02/13 19:35:00 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -331,6 +331,8 @@ sub complete
return 1 if !defined $plist;
return 1 if $n->has_error;
}
+ # XXX kept must have complete plists to be able to track
+ # libs for OldLibs
for my $o ($set->older, $set->kept) {
$o->complete_old($state);
}