diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-17 15:40:07 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-17 15:40:07 +0000 |
commit | e5b9b26b25e8807400b7af9d0a802706d03f1399 (patch) | |
tree | d19bb94c72fc64a020c8d21ad8ee9ccc3553e4ac /usr.sbin/pkg_add/OpenBSD/Dependencies.pm | |
parent | 3017ba8ae131a3dd955e5dc64dc6f00c39243a34 (diff) |
library lookup becomes a real method
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Dependencies.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Dependencies.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm index ea125175d01..10631bb3514 100644 --- a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm +++ b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Dependencies.pm,v 1.34 2007/05/17 15:35:58 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.35 2007/05/17 15:40:06 espie Exp $ # # Copyright (c) 2005-2007 Marc Espie <espie@openbsd.org> # @@ -198,7 +198,10 @@ sub find_old_lib sub lookup_library { - my ($state, $lib, $plist, $dependencies, $done) = @_; + my ($self, $state, $lib, $done) = @_; + + my $plist = $self->{plist}; + my $dependencies = $self->{to_register}; my $r = check_lib_spec($plist->localbase, $lib, $dependencies); if ($r) { |