summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2006-12-14 14:32:04 +0000
committerdmcmahill <dmcmahill>2006-12-14 14:32:04 +0000
commitfd9e630ca52e662c16f55da76220b3e3e07d272a (patch)
tree838da10d366bfe9e42bab887dede75d11e7880ac /mk
parent8dde60fcba03e80523355b537e1141c412890dd1 (diff)
downloadpkgsrc-fd9e630ca52e662c16f55da76220b3e3e07d272a.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')
-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; \