From 720febe1bcd1646d4cd6850bd15b98c0df0a1324 Mon Sep 17 00:00:00 2001 From: Marc Espie <espie@cvs.openbsd.org> Date: Mon, 14 May 2007 11:02:16 +0000 Subject: put Search objects into their own file, finally --- usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/PackingElement.pm') 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 -- cgit v1.2.3