Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: grant beattie <grant@netbsd.org>
List: pkgsrc-changes
Date: 01/10/2004 08:38:43
Module Name:	pkgsrc
Committed By:	grant
Date:		Sat Jan 10 08:38:43 UTC 2004

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

Log Message:
make shared library handling more efficient by nuking the
show-shlib-type target and instead defining SHLIB_TYPE using
similar semantics show-shlib-type, but on non-dylib and non-AIX
platforms, use ${OBJECT_FMT} instead of compiling a dummy binary
and running file(1) over it.

with archivers/bzip2 on my Solaris 9 box, this shaves 1.6sec, 92
fork()s and 956 stat()s from creating ${WRKDIR}/.PLIST and the
do-shlib-handling target.


To generate a diff of this commit:
cvs rdiff -r1.1340 -r1.1341 pkgsrc/mk/bsd.pkg.mk

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