pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Added the variable PHASE_MSG, STEP_MSG, WARNING_MSG...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fffbb7cc0b48
branches: trunk
changeset: 509628:fffbb7cc0b48
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Mar 12 14:55:18 2006 +0000
description:
Added the variable PHASE_MSG, STEP_MSG, WARNING_MSG and ERROR_MSG to
facilitate the generation of consistent-looking progress messages.
diffstat:
mk/bsd.pkg.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r b792710316e3 -r fffbb7cc0b48 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sun Mar 12 14:50:11 2006 +0000
+++ b/mk/bsd.pkg.mk Sun Mar 12 14:55:18 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1805 2006/03/10 11:02:00 tonio Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1806 2006/03/12 14:55:18 rillig Exp $
#
# This file is in the public domain.
#
@@ -533,6 +533,10 @@
# Used to print all the '===>' style prompts - override this to turn them off.
ECHO_MSG?= ${ECHO}
+PHASE_MSG?= ${ECHO_MSG} ${_PKGSRC_IN:Q}\>
+STEP_MSG?= ${ECHO_MSG} "=>"
+WARNING_MSG?= ${ECHO_MSG} 1>&2 "WARNING:"
+ERROR_MSG?= ${ECHO_MSG} 1>&2 "ERROR:"
# How to do nothing. Override if you, for some strange reason, would rather
# do something.
Home |
Main Index |
Thread Index |
Old Index