summaryrefslogtreecommitdiff
path: root/x11/ruby-tk
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-01-26 16:03:49 +0000
committertaca <taca@pkgsrc.org>2005-01-26 16:03:49 +0000
commit5f877ae4ef163d74a27e1d05471bd925f5f86f9c (patch)
treed6f82bf6a25b2c1a555803243957d45577352f08 /x11/ruby-tk
parent20c6afd3e1610dccc8ee577b06aaa4624e44dfda (diff)
downloadpkgsrc-5f877ae4ef163d74a27e1d05471bd925f5f86f9c.tar.gz
Make sure to change current directory to ${WRKSRC} before removing
extra files by find(1).
Diffstat (limited to 'x11/ruby-tk')
-rw-r--r--x11/ruby-tk/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/ruby-tk/Makefile b/x11/ruby-tk/Makefile
index 0f01d3e29f4..c51583d0eec 100644
--- a/x11/ruby-tk/Makefile
+++ b/x11/ruby-tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/01/23 17:37:48 taca Exp $
+# $NetBSD: Makefile,v 1.13 2005/01/26 16:03:49 taca Exp $
# FreeBSD: ports/x11-toolkits/ruby-tk/Makefile,v 1.21 2000/10/20 19:56:04 knu Exp
DISTNAME= ${RUBY_DISTNAME}
@@ -23,8 +23,8 @@ WRKSRC= ${RUBY_WRKSRC}/ext/tk
REPLACE_RUBY_DIRS= ${WRKSRC}/sample
pre-configure:
- @${FIND} ${WRKSRC} \( -name '*.orig' -o -name '*.bak' \) \
- -exec rm -f {} \;
+ @cd ${WRKSRC}; \
+ ${FIND} . \( -name '*.orig' -o -name '*.bak' \) -exec rm -f {} \;
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tk