From e6d4da19a1ab07e7096755947013e8313d3e2d22 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 7 Aug 2010 09:37:44 +0000 Subject: [PATCH] dep is an object, needs to become a string for error messages --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index c782995e671..e863f373a7f 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.12 2010/08/01 10:04:24 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.13 2010/08/07 09:37:44 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -881,7 +881,7 @@ sub install_set if (@baddeps) { $state->errsay("Can't install #1: can't resolve #2", - $set->print, join(',', @baddeps)); + $set->print, join(',', map {$_->{pattern}} @baddeps)); $state->{bad}++; $set->cleanup(OpenBSD::Handle::CANT_INSTALL,"bad dependencies"); $state->tracker->cant($set); -- 2.20.1