diff options
author | rillig <rillig> | 2007-01-11 12:11:03 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-01-11 12:11:03 +0000 |
commit | 8e8f808596e003e7ce7e225db9de6ba65cfe5935 (patch) | |
tree | 85dcbf9310938718f94f3f4624b262b8f250156a /mk | |
parent | 69ed0d10343d05790f8a8e732e25cb4c6e984652 (diff) | |
download | pkgsrc-8e8f808596e003e7ce7e225db9de6ba65cfe5935.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')
-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} |