summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-20 10:38:51 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-20 10:38:51 +0000
commit70b177194b90b570d7cdc8165ceb0f175ee691fe (patch)
treeedd386d9a1a05e4c87c9758f8d445c764ec59f2f /usr.sbin
parentf9ee2edfb1d605d46c5335fda8678a0bc7df2aaf (diff)
remove extra forwarding method that is no longer needed
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Replace.pm14
1 files changed, 3 insertions, 11 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Replace.pm b/usr.sbin/pkg_add/OpenBSD/Replace.pm
index ede0a2f4b75..093eeea80e9 100644
--- a/usr.sbin/pkg_add/OpenBSD/Replace.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Replace.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Replace.pm,v 1.13 2007/05/20 10:20:07 espie Exp $
+# $OpenBSD: Replace.pm,v 1.14 2007/05/20 10:38:50 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -151,10 +151,10 @@ sub update_issue($$)
}
}
-package OpenBSD::PackingElement::Depend;
+package OpenBSD::PackingElement::Dependency;
use OpenBSD::Error;
-sub check_replacement_spec
+sub validate_depend
{
my ($self, $state, $wanting, $toreplace, $replacement) = @_;
@@ -207,14 +207,6 @@ sub unmark_lib
delete $libs->{$libname};
}
-package OpenBSD::PackingElement::Dependency;
-sub validate_depend
-{
- my ($self, $state, $wanting, $toreplace, $replacement) = @_;
-
- $self->check_replacement_spec($state, $wanting, $toreplace, $replacement);
-}
-
package OpenBSD::Replace;
use OpenBSD::RequiredBy;
use OpenBSD::PackingList;