summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-20 10:20:08 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-20 10:20:08 +0000
commitf9ee2edfb1d605d46c5335fda8678a0bc7df2aaf (patch)
tree0fb9b94e60b662e34d2fbeaffc348a99e20acd44 /usr.sbin
parenta0551b87254b5a1dfe086150c68e4c28750f94c7 (diff)
zap old depend code I missed
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Replace.pm24
1 files changed, 1 insertions, 23 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Replace.pm b/usr.sbin/pkg_add/OpenBSD/Replace.pm
index 1125db54f7f..ede0a2f4b75 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.12 2007/05/14 11:22:00 espie Exp $
+# $OpenBSD: Replace.pm,v 1.13 2007/05/20 10:20:07 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -181,17 +181,6 @@ sub check_replacement_spec
}
}
-package OpenBSD::PackingElement::LibDepend;
-sub validate_depend
-{
- my ($self, $state, $wanting, $toreplace, $replacement) = @_;
-
- if (defined $self->{name}) {
- return unless $self->{name} eq $wanting;
- }
- $self->check_replacement_spec($state, $wanting, $toreplace, $replacement);
-}
-
package OpenBSD::PackingElement::Lib;
sub mark_lib
{
@@ -218,17 +207,6 @@ sub unmark_lib
delete $libs->{$libname};
}
-package OpenBSD::PackingElement::NewDepend;
-sub validate_depend
-{
- my ($self, $state, $wanting, $toreplace, $replacement) = @_;
-
- if (defined $self->{name}) {
- return unless $self->{name} eq $wanting;
- }
- $self->check_replacement_spec($state, $wanting, $toreplace, $replacement);
-}
-
package OpenBSD::PackingElement::Dependency;
sub validate_depend
{