From 7de1e6abd3cfa4de3939e995455186495a23758a Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 7 Mar 2005 08:41:58 +0000 Subject: Bring over the clearer mismatch warning message from src. + state that the message is just a warning + make it clearer what an OS mismatch is --- pkgtools/pkg_install/files/add/perform.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c index f7f3e4eaa3f..4cbf16fe60d 100644 --- a/pkgtools/pkg_install/files/add/perform.c +++ b/pkgtools/pkg_install/files/add/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.28 2005/02/04 09:10:13 jlam Exp $ */ +/* $NetBSD: perform.c,v 1.29 2005/03/07 08:41:58 agc Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -11,7 +11,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.28 2005/02/04 09:10:13 jlam Exp $"); +__RCSID("$NetBSD: perform.c,v 1.29 2005/03/07 08:41:58 agc Exp $"); #endif #endif @@ -401,7 +401,7 @@ pkg_do(const char *pkg, lpkg_head_t *pkgs) } if (status != Good) { - warnx("Package `%s' OS mismatch:", pkg); + warnx("Warning: package `%s' was built for a different version of the OS:", pkg); warnx("%s/%s %s (pkg) vs. %s/%s %s (this host)", buildinfo[BI_OPSYS], buildinfo[BI_MACHINE_ARCH], -- cgit v1.2.3