diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-02-01 11:37:59 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-02-01 11:37:59 +0000 |
commit | 5bb1997e2252468906532e84b5d2436ec520f4bc (patch) | |
tree | 00f0077fc83e3651f6ba574f03e4c3be3d962ff0 /usr.sbin | |
parent | 021f55cb3aef011cd0b9834b631930d4b3f57cd0 (diff) |
let solve_depends work as soon as we have update_info
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Dependencies.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm index eae6bfee6ed..15237649f62 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.151 2010/12/24 09:04:14 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.152 2014/02/01 11:37:58 espie Exp $ # # Copyright (c) 2005-2010 Marc Espie <espie@openbsd.org> # @@ -139,7 +139,7 @@ sub find_elsewhere my ($self, $solver, $state, $obj) = @_; for my $n ($solver->{set}->newer) { - for my $dep (@{$n->{plist}->{depend}}) { + for my $dep (@{$n->dependency_info->{depend}}) { my $r = $solver->find_old_lib($state, $solver->{localbase}, $dep->{pattern}, $obj); if ($r) { @@ -384,7 +384,7 @@ sub solve_depends for my $package ($self->{set}->newer, $self->{set}->kept) { $package->{before} = []; - for my $dep (@{$package->{plist}->{depend}}) { + for my $dep (@{$package->dependency_info->{depend}}) { my $v = $self->solve_dependency($state, $dep, $package); # XXX next if !defined $v; |