Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/05/2006 09:08:35
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Jul  5 09:08:35 UTC 2006

Modified Files:
	pkgsrc/mk/build: bsd.build.mk build.mk test.mk
	pkgsrc/mk/check: check-vulnerable.mk
	pkgsrc/mk/configure: bsd.configure.mk configure.mk
	pkgsrc/mk/depends: depends.mk
	pkgsrc/mk/extract: extract.mk
	pkgsrc/mk/fetch: fetch.mk
	pkgsrc/mk/flavor/pkg: check.mk
	pkgsrc/mk/install: bsd.install.mk install.mk
	pkgsrc/mk/package: package.mk
	pkgsrc/mk/patch: patch.mk
	pkgsrc/mk/tools: bsd.tools.mk
	pkgsrc/mk/wrapper: bsd.wrapper.mk

Log Message:
Make the check-vulnerable target more self-sufficient, by moving some
of the logic from fetch/fetch.mk into flavor/pkg/check.mk, so that
check-vulnerable can be used as a source target.

Make check-vulnerable a source target for every phase of the build
workflow, which ensures that it is always run if the user starts a
new phase from the command line.

Fix the cookie-generation targets so that they don't append, only
overwrite to the cookie file.  This works around potential problems
due to recursive makes.

Move the cookie checks so that they surround the corresponding phase
target.  The presence of the cookie should now inform the make process
to avoid doing any processing of phases that occur before the phase
corresponding to the cookie.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/build/bsd.build.mk pkgsrc/mk/build/build.mk \
    pkgsrc/mk/build/test.mk
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/check/check-vulnerable.mk
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/configure/bsd.configure.mk \
    pkgsrc/mk/configure/configure.mk
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/depends/depends.mk
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/extract/extract.mk
cvs rdiff -r1.4 -r1.5 pkgsrc/mk/fetch/fetch.mk
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/flavor/pkg/check.mk
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/install/bsd.install.mk
cvs rdiff -r1.8 -r1.9 pkgsrc/mk/install/install.mk
cvs rdiff -r1.9 -r1.10 pkgsrc/mk/package/package.mk
cvs rdiff -r1.4 -r1.5 pkgsrc/mk/patch/patch.mk
cvs rdiff -r1.38 -r1.39 pkgsrc/mk/tools/bsd.tools.mk
cvs rdiff -r1.43 -r1.44 pkgsrc/mk/wrapper/bsd.wrapper.mk

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