Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 03/15/2006 16:20:12
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Mar 15 16:20:12 UTC 2006

Modified Files:
	pkgsrc/mk: bsd.pkg.mk
	pkgsrc/mk/install: bsd.pkginstall.mk

Log Message:
Always run the pkginstall framework targets to generate the
INSTALL/DEINSTALL and rc.d scripts, regardless of whether NO_BUILD is
defined or not.

We do this by renaming the main "build" target to "_build", and creating
a new "build" target that has "_build" and "pkginstall" as dependencies.
This allows the "build" and "install" targets to be consecutive, so
no changes in behavior are visible to the user.

Because the pkginstall targets are no longer run within the protection
of the locks during the build phase, we need to manage locking within
a new "pkginstall" target.


To generate a diff of this commit:
cvs rdiff -r1.1809 -r1.1810 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.41 -r1.42 pkgsrc/mk/install/bsd.pkginstall.mk

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