diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-12-01 09:53:10 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-12-01 09:53:10 +0000 |
commit | f7bcaf83d9292598cfb7b2a541459bcc7caea94c (patch) | |
tree | 48507d5e18d1a0120aee9069a8fed92ec0e2c21b | |
parent | 1f9aeee38a50870ea745b0930b78c10d9cf584b6 (diff) |
okay, this one needs tagging as well
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 21c82b76f86..f776afd1933 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.407 2009/12/01 08:13:23 espie Exp $ +# $OpenBSD: pkg_add,v 1.408 2009/12/01 09:53:09 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -593,10 +593,10 @@ sub install_set for my $handle ($set->newer) { $handle->location->close_now; } - if (!$defines{libdepends}) { - $bad++; - return (); - } + $set->cleanup(OpenBSD::Handle::CANT_INSTALL); + $state->tracker->mark_cant_update($set); + $bad++; + return (); } # if (!$set->{solver}->solve_tags($state)) { # $location->close_now; |