diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-07 08:05:24 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-07 08:05:24 +0000 |
commit | c7f3bc19fe647a70d8baa1696eb6bc7b739d0255 (patch) | |
tree | 2969797dd016197fa370a56e55b0aa4dab8e8719 /usr.sbin/pkg_add | |
parent | a4a23773c9a1f80c228da850742525c80c473192 (diff) |
finish removing old libdepends checks.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 410560fb617..30bc28225e1 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.231 2007/05/03 14:47:29 espie Exp $ +# $OpenBSD: pkg_add,v 1.232 2007/05/07 08:05:23 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -553,17 +553,6 @@ sub install_package OpenBSD::SharedLibs::add_package_libs($dep); } my $okay = 1; - for my $dep (@{$plist->{libdepend}}) { - return () if defined $dep->{name} and $dep->{name} ne $plist->pkgname; - for my $spec (split(/,/, $dep->{libspec})) { - if (!OpenBSD::Dependencies::lookup_library($state, $spec, $plist, - $handle->{solved_dependencies}, 0)) { - Warn "Can't install $pkg: lib not found $spec\n"; - clue($handle->{solved_dependencies}) if $okay; - $okay = 0; - } - } - } for my $lib (@{$plist->{wantlib}}) { my $extra = {}; if (!OpenBSD::Dependencies::lookup_library($state, $lib->{name}, $plist, |