diff options
author | rillig <rillig@pkgsrc.org> | 2006-03-12 14:55:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-03-12 14:55:18 +0000 |
commit | 3ef535342c939da0a2a88114f3774ff61b7ebc33 (patch) | |
tree | c7cda7972feeb630327fbfb62a060476092a361f /mk | |
parent | b107baca56484f959eaa8e5690eb20fad8c69acf (diff) | |
download | pkgsrc-3ef535342c939da0a2a88114f3774ff61b7ebc33.tar.gz |
Added the variable PHASE_MSG, STEP_MSG, WARNING_MSG and ERROR_MSG to
facilitate the generation of consistent-looking progress messages.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 647506d0ba8..3a24e0a68ec 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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 @@ _PKGSRC_IN?= ===${SMART_MESSAGES:D> ${.TARGET} [${PKGNAME}${_PKGSRC_DEPS}] ===} # 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. |