pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Replaced _PKG_SILENT and _PKG_DEBUG with RUN.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f8000b8911c
branches:  trunk
changeset: 537860:6f8000b8911c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jan 18 10:41:05 2008 +0000

description:
Replaced _PKG_SILENT and _PKG_DEBUG with RUN.

diffstat:

 mk/subst.mk |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r db73b26f4de1 -r 6f8000b8911c mk/subst.mk
--- a/mk/subst.mk       Fri Jan 18 10:21:01 2008 +0000
+++ b/mk/subst.mk       Fri Jan 18 10:41:05 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.48 2007/11/19 23:38:03 rillig Exp $
+# $NetBSD: subst.mk,v 1.49 2008/01/18 10:41:05 rillig Exp $
 #
 # This Makefile fragment implements a general text replacement facility.
 # Package makefiles define a ``class'', for each of which a particular
@@ -101,11 +101,9 @@
 
 ${_SUBST_COOKIE.${_class_}}:
 .  if defined(SUBST_MESSAGE.${_class_})
-       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
-       ${ECHO_SUBST_MSG} ${SUBST_MESSAGE.${_class_}:Q}
+       ${RUN} ${ECHO_SUBST_MSG} ${SUBST_MESSAGE.${_class_}:Q}
 .  endif
-       ${_PKG_SILENT}${_PKG_DEBUG} set -e;                             \
-       cd ${WRKSRC:Q};                                                 \
+       ${RUN} cd ${WRKSRC:Q};                                          \
        files=${SUBST_FILES.${_class_}:Q};                              \
        for file in $$files; do                                         \
                case $$file in /*) ;; *) file="./$$file";; esac;        \
@@ -131,6 +129,5 @@
                        ${WARNING_MSG} "[subst.mk:${_class_}] Ignoring non-text file \"$$file\"."; \
                fi;                                                     \
        done
-       ${_PKG_SILENT}${_PKG_DEBUG} set -e;                             \
-       ${TOUCH} ${TOUCH_FLAGS} ${.TARGET:Q}
+       ${RUN} ${TOUCH} ${TOUCH_FLAGS} ${.TARGET:Q}
 .endfor



Home | Main Index | Thread Index | Old Index