Subject: CVS commit: pkgsrc
To: None <>
From: Hubert Feyrer <>
List: source-changes
Date: 06/03/2000 00:15:30
Module Name:	pkgsrc
Committed By:	hubertf
Date:		Sat Jun  3 07:15:30 UTC 2000

Modified Files:

Log Message:

Major changes:
 * Avoid a big bunch of subshells/forks/execs by using make(1) features;
   should be good for some minor speedups.
 * Use shell builtins for echo, true, false, test. Using full paths here
   causes fork&execs, making things slow. Only changed for NetBSD.
 * Rename all references to ${.MAKEFLAGS} to ${MAKEFLAGS}. See make(1).
 * Evaluate all !=s only once, and add them to MAKEFLAGS
 * Pass ${MAKEFLAGS} to ALL ${MAKE} calls
   Now PKGTOOLS_VERSION is really only set once in a whole "make package"
   cycle, even across dependencies.

Minor changes:
   (only) execuded in the places where it's needed.
 * Don't check for /usr/bin/fetch - we never had it, and if someone
   depends on it he can set FETCH_CMD instead.
 * Don't fall back to README.port
 * Replace some commands by their uppercase equivalents (sed -> ${SED},
   same for grep, awk, ...)
 * Some whitespace changes to improve readability

=> With these changes, times for a "make clean" in x11/kde go down to 20%,
   time for "make readme" goes down to 33%!

To generate a diff of this commit:
cvs rdiff -r1.451 -r1.452 pkgsrc/mk/

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