summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-12-01 09:53:10 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-12-01 09:53:10 +0000
commitf7bcaf83d9292598cfb7b2a541459bcc7caea94c (patch)
tree48507d5e18d1a0120aee9069a8fed92ec0e2c21b
parent1f9aeee38a50870ea745b0930b78c10d9cf584b6 (diff)
okay, this one needs tagging as well
-rw-r--r--usr.sbin/pkg_add/pkg_add10
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;