summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackageName.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageName.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageName.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageName.pm b/usr.sbin/pkg_add/OpenBSD/PackageName.pm
index e9c10232a1c..1ceabd06aab 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageName.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageName.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageName.pm,v 1.23 2007/05/14 10:00:08 espie Exp $
+# $OpenBSD: PackageName.pm,v 1.24 2007/05/14 10:43:45 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -321,7 +321,7 @@ sub split
return $class->new(OpenBSD::PackageName::splitstem($pkgname));
}
-sub match_repo
+sub match
{
my ($self, $o) = @_;
return $o->stemlist->find($self->{stem});
@@ -336,7 +336,7 @@ sub to_pattern
return '*.'.$o->{stem}.'*-*';
}
-sub match_repo
+sub match
{
my ($self, $o) = @_;
return $o->stemlist->find_partial($self->{stem});