summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2006-12-14 14:32:04 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2006-12-14 14:32:04 +0000
commitafa2891d96ed12412d84229875e7acaa36e765c6 (patch)
tree838da10d366bfe9e42bab887dede75d11e7880ac /mk/bulk
parentb3c2d58dbe4977bc589f0b712f80192203d33f9b (diff)
downloadpkgsrc-afa2891d96ed12412d84229875e7acaa36e765c6.tar.gz
If a package build fails, append the output of 'make debug' to the log
since sometimes there are questions about various variables and settings. This should help in people trying to investigate build failures.
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk
index 94f2e1e3e35..642e81e3967 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.128 2006/12/09 19:56:54 jschauma Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.129 2006/12/14 14:32:04 dmcmahill Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -549,7 +549,10 @@ bulk-package:
fi
@if [ ! -f ${PKGFILE} ]; then \
${BULK_MSG} "Build for ${PKGNAME} was not successful, aborting." | ${TEE} -a ${_BROKENFILE:Q} ; \
- { ${ECHO} "</body>"; \
+ ${ECHO} "<pre>" >> ${_BROKENFILE:Q}; \
+ ${MAKE} debug >> ${_BROKENFILE:Q} ; \
+ { ${ECHO} "</pre>"; \
+ ${ECHO} "</body>"; \
${ECHO} "</html>"; \
} >> ${_BROKENFILE:Q}; \
exitcode=1; \