Subject: CVS commit: pkgsrc/mk
To: None <>
From: Johnny C. Lam <>
List: pkgsrc-changes
Date: 06/09/2006 13:59:08
Module Name:	pkgsrc
Committed By:	jlam
Date:		Fri Jun  9 13:59:08 UTC 2006

Modified Files:
Added Files:

Log Message:
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,
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.

To generate a diff of this commit:
cvs rdiff -r0 -r1.1 pkgsrc/mk/
cvs rdiff -r1.1848 -r1.1849 pkgsrc/mk/
cvs rdiff -r1.50 -r1.51 pkgsrc/mk/
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/check/
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/check/ \
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/check/
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/depends/
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/extract/
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/flavor/pkg/
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/install/
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/package/
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/patch/
cvs rdiff -r1.35 -r1.36 pkgsrc/mk/tools/

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.