summaryrefslogtreecommitdiff
path: root/x11
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
commitadef3b9a84700e1332d1d8ffcb1fb0b3832048c4 (patch)
treed6f82bf6a25b2c1a555803243957d45577352f08 /x11
parent4f07400a7d8f463f51900b29880b1cc5385172ca (diff)
downloadpkgsrc-adef3b9a84700e1332d1d8ffcb1fb0b3832048c4.tar.gz
Make sure to change current directory to ${WRKSRC} before removing
extra files by find(1).
Diffstat (limited to 'x11')
-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