pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Don't echo the debug message for the targets whose ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f80a664c7f9
branches:  trunk
changeset: 481385:0f80a664c7f9
user:      hira <hira%pkgsrc.org@localhost>
date:      Sun Oct 03 04:24:20 2004 +0000

description:
Don't echo the debug message for the targets whose output is used
by other targets.

OK'd by jlam.  This should close pkg/24377.

diffstat:

 mk/bsd.pkg.mk |  16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r e2afc3205433 -r 0f80a664c7f9 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sun Oct 03 02:08:40 2004 +0000
+++ b/mk/bsd.pkg.mk     Sun Oct 03 04:24:20 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1505 2004/10/03 00:13:01 tv Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1506 2004/10/03 04:24:20 hira Exp $
 #
 # This file is in the public domain.
 #
@@ -1693,8 +1693,7 @@
 .PHONY: show-depends-dirs
 .if !target(show-depends-dirs)
 show-depends-dirs:
-       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
-       dlist="";                                                       \
+       @dlist="";                                                      \
        thisdir=`${PWD_CMD}`;                                           \
        for reldir in "" ${DEPENDS:C/^[^:]*://:C/:.*$//} ${BUILD_DEPENDS:C/^[^:]*://:C/:.*$//} ;\
        do                                                              \
@@ -1758,13 +1757,13 @@
 .PHONY: show-all-depends-dirs
 .if make(show-all-depends-dirs)
 show-all-depends-dirs:
-       ${_PKG_SILENT}${_PKG_DEBUG}${AWK} '${_RECURSE_DEPENDS_DIRS}'
+       @${AWK} '${_RECURSE_DEPENDS_DIRS}'
 .endif
 
 .PHONY: show-all-depends-dirs-excl
 .if make(show-all-depends-dirs-excl)
 show-all-depends-dirs-excl:
-       ${_PKG_SILENT}${_PKG_DEBUG}${AWK} -v NonSelf=1 '${_RECURSE_DEPENDS_DIRS}'
+       @${AWK} -v NonSelf=1 '${_RECURSE_DEPENDS_DIRS}'
 .endif
 
 .PHONY: show-root-dirs
@@ -2955,10 +2954,9 @@
 .PHONY: show-shlib-type
 show-shlib-type:
 .  if empty(USE_LANGUAGES)
-       ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} "none"
+       @${ECHO} "none"
 .  elif ${_OPSYS_SHLIB_TYPE} == "ELF/a.out"
-       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
-       cd ${WRKDIR} &&                                                 \
+       @cd ${WRKDIR} &&                                                \
        sotype=none;                                                    \
        if [ "X${MKPIC}" != "Xno" -a "X${NOPIC}" = "X" ]; then          \
                ${ECHO} "int main() { return(0); }" > a.$$$$.c;         \
@@ -2976,7 +2974,7 @@
        ${ECHO} "$$sotype";                                             \
        ${RM} -f a.$$$$.c a.$$$$.out
 .  else
-       ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${_OPSYS_SHLIB_TYPE}
+       @${ECHO} ${_OPSYS_SHLIB_TYPE}
 .  endif   # USE_LANGUAGES
 .endif
 



Home | Main Index | Thread Index | Old Index