summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-14 11:02:16 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-14 11:02:16 +0000
commit720febe1bcd1646d4cd6850bd15b98c0df0a1324 (patch)
treeed68b21b01ec100e1c5bfad9683892533b68a9ca /usr.sbin/pkg_add/OpenBSD/PackingElement.pm
parent1f94b8d9a850dbb366ebbd30c37f8e1446017987 (diff)
put Search objects into their own file, finally
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingElement.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index 47871a7580d..799973b662c 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingElement.pm,v 1.108 2007/05/14 10:53:31 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.109 2007/05/14 11:02:15 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -690,7 +690,7 @@ sub spec
{
my $self = shift;
if (!defined $self->{spec}) {
- require OpenBSD::PkgSpec;
+ require OpenBSD::Search;
$self->{spec} = OpenBSD::Search::PkgSpec->new($self->{pattern});
}
return $self->{spec};
@@ -739,7 +739,7 @@ sub add
{
my ($class, $plist, $args) = @_;
- require OpenBSD::PkgSpec;
+ require OpenBSD::Search;
require OpenBSD::PackageRepository::Installed;
my @candidates = OpenBSD::PackageRepository::Installed->new