summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-04-29 11:09:30 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-04-29 11:09:30 +0000
commit16ba533515400205c7877b0cff33d6e7d6f57ad1 (patch)
tree0d84df8b2d9251318c42383c2606a611e0263aff /usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
parent21aa3452cd88d4bf64fcc6623307518ff82b5c87 (diff)
replace $p->visit('method') calls with $p->method
now that it works.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/SharedLibs.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/SharedLibs.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
index c5d20943586..50ae3986769 100644
--- a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
+++ b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: SharedLibs.pm,v 1.9 2007/04/15 10:17:29 espie Exp $
+# $OpenBSD: SharedLibs.pm,v 1.10 2007/04/29 11:09:29 espie Exp $
#
# Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org>
#
@@ -146,7 +146,7 @@ sub add_package_libs
}
}
- $plist->visit('mark_available_lib', $pkgname);
+ $plist->mark_available_lib($pkgname);
}
sub add_bogus_package_libs
@@ -162,7 +162,7 @@ sub add_bogus_package_libs
Warn "Can't read plist for $pkgname\n";
return;
}
- $plist->visit('mark_bogus_lib', $pkgname);
+ $plist->mark_bogus_lib($pkgname);
}
sub add_plist_libs
@@ -171,7 +171,7 @@ sub add_plist_libs
my $pkgname = $plist->pkgname();
return if $done_plist->{$pkgname};
$done_plist->{$pkgname} = 1;
- $plist->visit('mark_available_lib', $pkgname);
+ $plist->mark_available_lib($pkgname);
}
sub _lookup_libspec