summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv>2004-10-14 20:00:30 +0000
committertv <tv>2004-10-14 20:00:30 +0000
commitf873db991c162c80abfcc565653da6cc83749e19 (patch)
treebcb835a7e51399a164514ef1884608cf586960bc
parente4dd2e59f81e42f4344f2092f294b81ebb2769a7 (diff)
downloadpkgsrc-f873db991c162c80abfcc565653da6cc83749e19.tar.gz
Big speedup hack: Sort and uniqify ${_WRAP_TRANSFORM_CMDS}. Eliminates
many (hundreds, in some packages) multiple identical transformations.
-rw-r--r--mk/wrapper/bsd.wrapper.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/wrapper/bsd.wrapper.mk b/mk/wrapper/bsd.wrapper.mk
index 88d70c2c4e8..2cd0f6d1693 100644
--- a/mk/wrapper/bsd.wrapper.mk
+++ b/mk/wrapper/bsd.wrapper.mk
@@ -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 @@ _WRAP_UNTRANSFORM_SEDFILE?= ${WRAPPER_TMPDIR}/untransform.sed
# 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}