diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-22 06:50:49 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-22 06:50:49 +0000 |
commit | 53c952439d359116bb3ac4ccb69bf75ea01954fd (patch) | |
tree | d7f8c3447d1e8c1a3bded55401ca80e4b1451cdf /mk/bsd.pkg.mk | |
parent | 26b6a3baf46285b1fb0cf5f3902065c05074c940 (diff) | |
download | pkgsrc-53c952439d359116bb3ac4ccb69bf75ea01954fd.tar.gz |
Added a variable RUN (no leading underscore) as abbreviation for
${_PKG_SILENT}${_PKG_DEBUG}, so that this feature can be used by
packages, too.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 3bf6552450d..f22ac6a9b07 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1888 2006/10/15 16:20:34 joerg Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1889 2006/10/22 06:50:49 rillig Exp $ # # This file is in the public domain. # @@ -267,6 +267,13 @@ _PKG_DEBUG= set -x; _PKG_DEBUG_SCRIPT= ${SH} -x .endif +# This variable can be prepended to all shell commands that should not +# be printed by default, but when PKGSRC_DEBUG_LEVEL is non-zero. +# It also re-adds the error checking that has been removed in 2004 to +# make bmake conform to POSIX. +# +RUN= ${_PKG_SILENT}${_PKG_DEBUG} set -e; + # A few aliases for *-install targets INSTALL= ${TOOLS_INSTALL} # XXX override sys.mk INSTALL_PROGRAM?= \ |