summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-12-09 19:10:36 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-12-09 19:10:36 +0000
commitb5184a57e31b79acf624bd5523d6ab6a90954e7e (patch)
tree8ad498c7cc21adc1e64d2e82205de71899a63e92 /usr.sbin
parent7e76c43946b1a700e39690a2f7a4bbe5075c9f65 (diff)
Spell out which dependencies are getting solved so that pkg_add output
is less confusing.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_add5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index e65267f4b41..7f614978fbd 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.15 2003/12/09 19:08:44 espie Exp $
+# $OpenBSD: pkg_add,v 1.16 2003/12/09 19:10:35 espie Exp $
#
# Copyright (c) 2003 Marc Espie.
#
@@ -220,7 +220,8 @@ sub solve_dependencies
}
if (@{$to_register} > 0) {
- print "Dependencies resolve to: ", join(',', @$to_register);
+ print "Dependencies for ", $plist->pkgname(), " resolve to: ",
+ join(',', @$to_register);
print " (todo: ", join(',', @deps), ")" if @deps > 0;
print "\n";
}