summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-06 10:56:34 +0000
committerrillig <rillig@pkgsrc.org>2007-03-06 10:56:34 +0000
commitffa8f5f575d12ddb779b4cb74767ecb9e08c4675 (patch)
tree7e977bd1d4e16d666088de7526c719275004cd08 /mk
parent628570b1fc5e20c4996bb03048345a97be24cf79 (diff)
downloadpkgsrc-ffa8f5f575d12ddb779b4cb74767ecb9e08c4675.tar.gz
The warnings from the wrapper log are added to the report file.
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk
index 8e5c57bfb09..3882ac4a361 100644
--- a/mk/bulk/bsd.bulk-pkg.mk
+++ b/mk/bulk/bsd.bulk-pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.bulk-pkg.mk,v 1.135 2007/02/19 12:10:43 rillig Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.136 2007/03/06 10:56:34 rillig Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -457,6 +457,13 @@ bulk-package:
${RM} -f ${_BUILDLOG:Q}; \
if [ -f "${WRKLOG}" ]; then \
${CP} ${WRKLOG:Q} ${_BROKENWRKLOG:Q}; \
+ { ${ECHO} "<pre>"; \
+ ${ECHO} ""; \
+ ${ECHO} "===> Warnings from the wrapper log (sorted):"; \
+ ${GREP} "^WARNING" ${WRKLOG} | ${SORT} -u | ${TO_HTML}; \
+ ${ECHO} ""; \
+ ${ECHO} "</pre>"; \
+ } >> ${_BROKENFILE}; \
fi; \
( \
if [ -f ${_BROKENWRKLOG:Q} ]; then \