summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2014-02-13 19:35:00 +0000
committerespie <espie@openbsd.org>2014-02-13 19:35:00 +0000
commit722b789211367c823a5ac213e53dac40200510d2 (patch)
tree9acf2752c33077a9983cf6d97c006a8ff7ce99a4
parentsync (diff)
downloadwireguard-openbsd-722b789211367c823a5ac213e53dac40200510d2.tar.xz
wireguard-openbsd-722b789211367c823a5ac213e53dac40200510d2.zip
this one is non obvious enough it deserves a comment
-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);
}