summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-03-07 08:41:58 +0000
committeragc <agc@pkgsrc.org>2005-03-07 08:41:58 +0000
commit7de1e6abd3cfa4de3939e995455186495a23758a (patch)
tree9d29fdfb06f2425eae847571f63fd2c2031aba44 /pkgtools
parent94c59e608d90d956da79ebb5a1171d81e1279656 (diff)
downloadpkgsrc-7de1e6abd3cfa4de3939e995455186495a23758a.tar.gz
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
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/files/add/perform.c6
1 files changed, 3 insertions, 3 deletions
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],