diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-11 12:11:03 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-11 12:11:03 +0000 |
commit | 9ea67301ad39002d2f6574993ecd8f51baf2a8b8 (patch) | |
tree | 85dcbf9310938718f94f3f4624b262b8f250156a /mk/bsd.pkg.mk | |
parent | 2915a11cd1fbc89acabc23a1d18e59def2b71c0c (diff) | |
download | pkgsrc-9ea67301ad39002d2f6574993ecd8f51baf2a8b8.tar.gz |
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.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 7 |
1 files changed, 4 insertions, 3 deletions
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} |