diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-14 10:53:32 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-14 10:53:32 +0000 |
commit | 1f94b8d9a850dbb366ebbd30c37f8e1446017987 (patch) | |
tree | 35cce9bc8f1299f6ff45bf2a374669c415c8071a /usr.sbin/pkg_add/OpenBSD/Dependencies.pm | |
parent | b625ec4ca173b166b6eed5bafd2aa02064886be0 (diff) |
put search objects into a search class.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Dependencies.pm')
-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 46cf895a348..895b66db2aa 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.24 2007/05/14 10:43:45 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.25 2007/05/14 10:53:31 espie Exp $ # # Copyright (c) 2005-2007 Marc Espie <espie@openbsd.org> # @@ -136,7 +136,7 @@ sub find_old_lib { my ($state, $base, $pattern, $lib, $dependencies) = @_; - my $spec = OpenBSD::PkgSpec->new(".libs-".$pattern); + my $spec = OpenBSD::Search::PkgSpec->new(".libs-".$pattern); require OpenBSD::PackageRepository::Installed; for my $try (OpenBSD::PackageRepository::Installed->new->match($spec)) { |