diff options
author | jlam <jlam@pkgsrc.org> | 2006-06-09 13:59:06 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-06-09 13:59:06 +0000 |
commit | 3aab0ce66d90cd6f3a18c6f586e849e54dab913d (patch) | |
tree | bc3ee1d8414671473ac53f6468293fea0563cf1d /mk/extract/extract.mk | |
parent | 69568842f5938a9aef8aa60992da0242451b84c0 (diff) | |
download | pkgsrc-3aab0ce66d90cd6f3a18c6f586e849e54dab913d.tar.gz |
Introduce the capability to gather all the warnings and errors that
are generated for a target and output them all at once at the conclusion
of the target's invocation. The implementation is in bsd.pkg.error.mk,
which defines a macro target "error-check" that will print out any
non-empty warning and error files in ${WARNING_DIR} and ${ERROR_DIR}
and exit appropriately if there were errors.
Convert some targets that were just long sequences of ${ERROR_MSG} or
${WARNING_MSG} within a single shell statement to use the new delayed
error output via error-check.
Modify the compiler "fail" wrappers for C++ and Fortran to be less
verbose during invocation. Instead collect the warnings and only
print them at the end of the completed phase, e.g. after "configure"
and/or "build" completes.
Diffstat (limited to 'mk/extract/extract.mk')
-rw-r--r-- | mk/extract/extract.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/extract/extract.mk b/mk/extract/extract.mk index 7ffce785ed2..41513acc437 100644 --- a/mk/extract/extract.mk +++ b/mk/extract/extract.mk @@ -1,4 +1,4 @@ -# $NetBSD: extract.mk,v 1.6 2006/06/09 08:20:30 jlam Exp $ +# $NetBSD: extract.mk,v 1.7 2006/06/09 13:59:08 jlam Exp $ # # The following variables may be set by the package Makefile and # specify how extraction happens: @@ -79,6 +79,7 @@ _REAL_EXTRACT_TARGETS+= pre-extract _REAL_EXTRACT_TARGETS+= do-extract _REAL_EXTRACT_TARGETS+= post-extract _REAL_EXTRACT_TARGETS+= extract-cookie +_REAL_EXTRACT_TARGETS+= error-check .PHONY: real-extract real-extract: ${_REAL_EXTRACT_TARGETS} |