summaryrefslogtreecommitdiff
path: root/x11/ruby-tk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2006-11-10 16:50:54 +0000
committertv <tv@pkgsrc.org>2006-11-10 16:50:54 +0000
commitb16e61f08ae31a120bb2b0f7ed66061e1fee048f (patch)
treecb1e433da59a585562d51d74be125c5a8bb6f303 /x11/ruby-tk
parent1cd84fb248e08eeef1cd7be1a32d02db726ef6ab (diff)
downloadpkgsrc-b16e61f08ae31a120bb2b0f7ed66061e1fee048f.tar.gz
Use find -print | xargs rather than find -exec.
Diffstat (limited to 'x11/ruby-tk')
-rw-r--r--x11/ruby-tk/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/x11/ruby-tk/Makefile b/x11/ruby-tk/Makefile
index 385dc920f50..84912b4f25b 100644
--- a/x11/ruby-tk/Makefile
+++ b/x11/ruby-tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/09/07 15:43:20 taca Exp $
+# $NetBSD: Makefile,v 1.25 2006/11/10 16:54:54 tv Exp $
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION}
@@ -23,8 +23,7 @@ CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q}
REPLACE_RUBY_DIRS= ${WRKSRC}/sample
pre-configure:
- @cd ${WRKSRC}; \
- ${FIND} . \( -name '*.orig' -o -name '*.bak' \) -exec ${RM} -f {} \;
+ ${FIND} ${WRKSRC} \( -name '*.orig' -o -name '*.bak' \) -print | ${XARGS} ${RM} -f
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tk