From 9ea67301ad39002d2f6574993ecd8f51baf2a8b8 Mon Sep 17 00:00:00 2001 From: rillig Date: Thu, 11 Jan 2007 12:11:03 +0000 Subject: Added the INFO_MSG command, which can be used when the user should be noticed about something that is not severe enough to need a warning. INFO messages go to stdout instead of stderr. Added the :M* modifier to the INSTALL_MACROS to make the resulting command lines somewhat shorter. --- mk/bsd.pkg.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index f60aebb50c3..eeb24ee4f31 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1904 2007/01/06 19:53:01 rillig Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1905 2007/01/11 12:11:03 rillig Exp $ # # This file is in the public domain. # @@ -328,8 +328,8 @@ INSTALL_MACROS= BSD_INSTALL_PROGRAM=${INSTALL_PROGRAM:Q} \ BSD_INSTALL_GAME=${INSTALL_GAME:Q} \ BSD_INSTALL_GAME_DATA=${INSTALL_GAME_DATA:Q} \ BSD_INSTALL_GAME_DIR=${INSTALL_GAME_DIR:Q} -MAKE_ENV+= ${INSTALL_MACROS} -SCRIPTS_ENV+= ${INSTALL_MACROS} +MAKE_ENV+= ${INSTALL_MACROS:M*} +SCRIPTS_ENV+= ${INSTALL_MACROS:M*} # If pkgsrc is supposed to ensure that tests are run before installation # of the package, then the build targets should be "build test", otherwise @@ -369,6 +369,7 @@ _PKGSRC_IN?= ===${SMART_MESSAGES:D> ${.TARGET} [${PKGNAME}${_PKGSRC_DEPS}] ===} ECHO_MSG?= ${ECHO} PHASE_MSG?= ${ECHO_MSG} ${_PKGSRC_IN:Q}\> STEP_MSG?= ${ECHO_MSG} "=>" +INFO_MSG?= ${ECHO_MSG} "INFO:" WARNING_MSG?= ${ECHO_MSG} 1>&2 "WARNING:" ERROR_MSG?= ${ECHO_MSG} 1>&2 "ERROR:" FAIL_MSG?= ${FAIL} ${ERROR_MSG} -- cgit v1.2.3