pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Sanitise the error message of the fail-wrapper:
details: https://anonhg.NetBSD.org/pkgsrc/rev/6bd197aa97f0
branches: trunk
changeset: 548674:6bd197aa97f0
user: ahoka <ahoka%pkgsrc.org@localhost>
date: Mon Oct 20 18:33:50 2008 +0000
description:
Sanitise the error message of the fail-wrapper:
- Use PGKSRC-WARNING to note it's coming from pkgsrc and not always fatal.
- Describe more precisely what's happening when you get this warning.
Hopefuly this will stop the misundersanding of the error message I could
see quite often amongst users.
diffstat:
mk/compiler.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 65aa1cd54ff6 -r 6bd197aa97f0 mk/compiler.mk
--- a/mk/compiler.mk Mon Oct 20 16:14:54 2008 +0000
+++ b/mk/compiler.mk Mon Oct 20 18:33:50 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.66 2008/02/13 09:00:52 rillig Exp $
+# $NetBSD: compiler.mk,v 1.67 2008/10/20 18:33:50 ahoka Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -183,8 +183,8 @@
${ECHO} 'msg="*** Please consider adding $$lang to USE_LANGUAGES in the package Makefile."'; \
${ECHO} '${ECHO} "$$msg" >> $$wrapperlog'; \
${ECHO} '${ECHO} "$$msg" > ${WARNING_DIR}/${.TARGET:T}'; \
- ${ECHO} '${ECHO} "ERROR: To use this compiler, you have to add $$lang to" 1>&2'; \
- ${ECHO} '${ECHO} "ERROR: USE_LANGUAGES in the package Makefile." 1>&2'; \
+ ${ECHO} '${ECHO} "PKGSRC-WARNING: Something is trying to run the $$lang compiler," 1>&2'; \
+ ${ECHO} '${ECHO} "PKGSRC-WARNING: but its not added to USE_LANGUAGES in the package Makefile." 1>&2'; \
${ECHO} 'exit 1'
${RUN}${CHMOD} +x ${.TARGET}
Home |
Main Index |
Thread Index |
Old Index