Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
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:
	pkgsrc/mk: bsd.pkg.mk compiler.mk
	pkgsrc/mk/check: check-files.mk check-interpreter.mk check-shlibs.mk
	    check-wrkref.mk
	pkgsrc/mk/depends: depends.mk
	pkgsrc/mk/extract: extract.mk
	pkgsrc/mk/flavor/pkg: install.mk
	pkgsrc/mk/install: install.mk
	pkgsrc/mk/package: package.mk
	pkgsrc/mk/patch: patch.mk
	pkgsrc/mk/tools: bsd.tools.mk
Added Files:
	pkgsrc/mk: bsd.pkg.error.mk

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 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.


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

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