pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/wrapper Big speedup hack: Sort and uniqify ${_WRAP...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9efd4cf74b28
branches:  trunk
changeset: 481922:9efd4cf74b28
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Oct 14 20:00:30 2004 +0000

description:
Big speedup hack:  Sort and uniqify ${_WRAP_TRANSFORM_CMDS}.  Eliminates
many (hundreds, in some packages) multiple identical transformations.

diffstat:

 mk/wrapper/bsd.wrapper.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e935951ae9d7 -r 9efd4cf74b28 mk/wrapper/bsd.wrapper.mk
--- a/mk/wrapper/bsd.wrapper.mk Thu Oct 14 19:57:06 2004 +0000
+++ b/mk/wrapper/bsd.wrapper.mk Thu Oct 14 20:00:30 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.wrapper.mk,v 1.8 2004/10/09 03:49:13 tv Exp $
+# $NetBSD: bsd.wrapper.mk,v 1.9 2004/10/14 20:00:30 tv Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -184,6 +184,7 @@
 
 # Generate the transformation sedfiles if we need them.
 .if !empty(_WRAP_TRANSFORM_CMDS)
+_WRAP_TRANSFORM_CMDS:=         ${_WRAP_TRANSFORM_CMDS:O:u}
 do-wrapper: ${_WRAP_TRANSFORM_SEDFILE} ${_WRAP_UNTRANSFORM_SEDFILE}
 _WRAP_TRANSFORM_SED+=  -f ${_WRAP_TRANSFORM_SEDFILE}
 _UNWRAP_SED=           -f ${_WRAP_UNTRANSFORM_SEDFILE}



Home | Main Index | Thread Index | Old Index