pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Added a variable RUN (no leading underscore) as abb...
details: https://anonhg.NetBSD.org/pkgsrc/rev/18017c648c04
branches: trunk
changeset: 520469:18017c648c04
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Oct 22 06:50:49 2006 +0000
description:
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:
mk/bsd.pkg.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 1c34a72b2845 -r 18017c648c04 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sun Oct 22 06:39:43 2006 +0000
+++ b/mk/bsd.pkg.mk Sun Oct 22 06:50:49 2006 +0000
@@ -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_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?= \
Home |
Main Index |
Thread Index |
Old Index