pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/vtk-docs For some reason, Interix "find ... -...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac0485d2edfa
branches: trunk
changeset: 521380:ac0485d2edfa
user: tv <tv%pkgsrc.org@localhost>
date: Fri Nov 10 16:30:08 2006 +0000
description:
For some reason, Interix "find ... -exec" leaks a little bit of memory,
which on large trees involving thousands of -exec's, makes find turn
into a humongous process. It's faster on most systems to use other
methods anyway, so use xargs where practical, or pipe to a
"while read f; do ..." loop and let the shell do what it was meant
to do -- run programs.
diffstat:
graphics/vtk-docs/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 5e88bdccf933 -r ac0485d2edfa graphics/vtk-docs/Makefile
--- a/graphics/vtk-docs/Makefile Fri Nov 10 16:18:48 2006 +0000
+++ b/graphics/vtk-docs/Makefile Fri Nov 10 16:30:08 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/01/29 03:32:17 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2006/11/10 16:30:08 tv Exp $
#
DISTNAME= VTKDocHtml-4.2
@@ -12,7 +12,8 @@
do-install:
${INSTALL_DATA_DIR} ${PREFIX:Q}/${HTML_DIR:Q}
- ${FIND} ${WRKSRC:Q} -type f -exec ${INSTALL_DATA} {} ${PREFIX:Q}/${HTML_DIR:Q} \;
+ ${FIND} ${WRKSRC:Q} -type f -print | \
+ while read f; do ${INSTALL_DATA} $$f ${PREFIX:Q}/${HTML_DIR:Q}; done
.include "../../graphics/vtk/Makefile.common"
Home |
Main Index |
Thread Index |
Old Index