diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-15 08:01:00 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-15 08:01:00 +0000 |
commit | 6fb8b531d80bf9216a901be1ade777c70108ad64 (patch) | |
tree | d8de046ece9f0cfc3c64cf7da99f276f4b8d1657 | |
parent | cc3b7d073a973d5b931d6517f5b3354f527a91b0 (diff) |
fix dependencies
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageInfo.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm index e2a52641331..5958edaa20b 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageInfo.pm,v 1.27 2007/05/14 10:53:31 espie Exp $ +# $OpenBSD: PackageInfo.pm,v 1.28 2007/05/15 08:00:59 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -207,7 +207,8 @@ sub solve_installed_names } } else { if (OpenBSD::PackageName::is_stem($pkgname)) { - require OpenBSD::PackageRepository; + require OpenBSD::PackageRepository::Installed; + require OpenBSD::Search; my @l = OpenBSD::PackageRepository::Installed->new->match(OpenBSD::Search::Stem->new($pkgname)); if (@l == 0) { |