Subject: CVS commit: pkgsrc/mk/wrapper
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 11/28/2007 14:45:22
Module Name: pkgsrc
Committed By: rillig
Date: Wed Nov 28 14:45:22 UTC 2007
Modified Files:
pkgsrc/mk/wrapper: bsd.wrapper.mk logic
Log Message:
Do not load the $cache file for every argument. Instead, load it once
and then call it as a shell function. Note that the shell function is
not called "cache", since some shells have problems when a function has
the same name as a variable.
This speeds up the wrapper by as little as 75 percent for the final link
command of editors/abiword on SunOS-5.10-sparc (before: 20 seconds,
after: 5 seconds).
To generate a diff of this commit:
cvs rdiff -r1.74 -r1.75 pkgsrc/mk/wrapper/bsd.wrapper.mk
cvs rdiff -r1.15 -r1.16 pkgsrc/mk/wrapper/logic
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.