pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/add Bring over the clearer ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c6710ad71a1
branches:  trunk
changeset: 490315:1c6710ad71a1
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Mar 07 08:41:58 2005 +0000

description:
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:

 pkgtools/pkg_install/files/add/perform.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 06c053331809 -r 1c6710ad71a1 pkgtools/pkg_install/files/add/perform.c
--- a/pkgtools/pkg_install/files/add/perform.c  Mon Mar 07 04:03:09 2005 +0000
+++ b/pkgtools/pkg_install/files/add/perform.c  Mon Mar 07 08:41:58 2005 +0000
@@ -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 @@
                        }
 
                        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],



Home | Main Index | Thread Index | Old Index