pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Added the INFO_MSG command, which can be used when ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2c5efb02b35d
branches: trunk
changeset: 523693:2c5efb02b35d
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Jan 11 12:11:03 2007 +0000
description:
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:
mk/bsd.pkg.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c8b6149ca6aa -r 2c5efb02b35d mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Thu Jan 11 11:56:17 2007 +0000
+++ b/mk/bsd.pkg.mk Thu Jan 11 12:11:03 2007 +0000
@@ -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 @@
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 @@
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}
Home |
Main Index |
Thread Index |
Old Index