diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Dependencies.pm')
-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 fe1b1b7788c..44974c60f29 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.61 2008/06/10 10:52:52 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.62 2008/06/11 12:21:03 espie Exp $ # # Copyright (c) 2005-2007 Marc Espie <espie@openbsd.org> # @@ -161,13 +161,13 @@ sub find_in_new_source { my ($self, $solver, $state, $obj, $dep) = @_; my $plist = OpenBSD::PackingList->from_installation($dep, - \&OpenBSD::PackingList::DependsOnly); + \&OpenBSD::PackingList::DependOnly); if (!defined $plist) { print STDERR "Can't read plist for $dep\n"; } if ($plist->has('define-tag')) { for my $t (@{$plist->{'define-tag'}}) { - $self->{known_tags}->{$t} = $dep; + $self->{known_tags}->{$t->{name}} = $dep; } } return $self->find_in_already_done($solver, $state, $obj); |