Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@netbsd.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: pkgsrc-changes
Date: 10/26/2001 17:10:01
Module Name:	pkgsrc
Committed By:	agc
Date:		Fri Oct 26 14:10:01 UTC 2001

Modified Files:
	pkgsrc/comms/mgetty+sendfax: Makefile
	pkgsrc/devel/ldapsdk: Makefile
	pkgsrc/mail/mailagent: Makefile
	pkgsrc/mk: bsd.pkg.mk
	pkgsrc/parallel/glunix: Makefile
	pkgsrc/www/navigator3: Makefile

Log Message:
At present, if there is a pre-<target> or post-<target> script in
the scripts/ directory, it will be run automatically as part of
the build process, by bsd.pkg.mk.  There are now exactly 5 packages
in pkgsrc which use this facility, and yet, for every package build,
the existence of a script is checked by bsd.pkg.mk once before the
target is executed, and once afterwards. This incurs needless
overhead.

Move the separate pre- and post- script handling out of bsd.pkg.mk into
the individual package Makefiles, where it's much more obvious what is
happening, anyway.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 pkgsrc/comms/mgetty+sendfax/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/devel/ldapsdk/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/mail/mailagent/Makefile
cvs rdiff -r1.831 -r1.832 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.20 -r1.21 pkgsrc/parallel/glunix/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/www/navigator3/Makefile

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