diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-06-09 10:39:17 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-06-09 10:39:17 +0000 |
commit | 60582c6f13fde3de6874af4087ae9e22593ffde2 (patch) | |
tree | c974638e9177edf3f088b7436a2b61d9d10057a1 /usr.sbin/pkg_add | |
parent | f3a00987805a3573b982ef2ac12a4ee2cdd0ab42 (diff) |
give Dependencies a chance at finding libraries in old packages.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Dependencies.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm index 239163ba8c8..d50cb2e6620 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.52 2007/06/05 23:19:00 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.53 2007/06/09 10:39:16 espie Exp $ # # Copyright (c) 2005-2007 Marc Espie <espie@openbsd.org> # @@ -313,7 +313,7 @@ sub lookup_library return 1; } } - for my $dep (@{$plist->{depends}}) { + for my $dep (@{$plist->{depend}}) { $r = find_old_lib($state, $plist->localbase, $dep->{pattern}, $lib, $dependencies); if ($r) { print "found libspec $lib in old package $r\n" if $state->{verbose}; |