diff options
author | taca <taca@pkgsrc.org> | 2005-01-26 16:03:49 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-01-26 16:03:49 +0000 |
commit | 5f877ae4ef163d74a27e1d05471bd925f5f86f9c (patch) | |
tree | d6f82bf6a25b2c1a555803243957d45577352f08 | |
parent | 20c6afd3e1610dccc8ee577b06aaa4624e44dfda (diff) | |
download | pkgsrc-5f877ae4ef163d74a27e1d05471bd925f5f86f9c.tar.gz |
Make sure to change current directory to ${WRKSRC} before removing
extra files by find(1).
-rw-r--r-- | x11/ruby-tk/Makefile | 6 |
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 |