pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby18-base When using find to remove directories...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f89b6017af3
branches:  trunk
changeset: 502682:0f89b6017af3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Nov 08 11:18:02 2005 +0000

description:
When using find to remove directories, do a depth-first traversal.
This is necessary to prevent find from returning with != 0 at least on
DragonFly.

diffstat:

 lang/ruby18-base/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d2af75dd5505 -r 0f89b6017af3 lang/ruby18-base/Makefile
--- a/lang/ruby18-base/Makefile Tue Nov 08 10:58:00 2005 +0000
+++ b/lang/ruby18-base/Makefile Tue Nov 08 11:18:02 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/11/02 08:56:39 taca Exp $
+# $NetBSD: Makefile,v 1.11 2005/11/08 11:18:02 joerg Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
@@ -93,7 +93,7 @@
 #
 post-build:
        @cd ${WRKSRC}/.ext; \
-               ${FIND} . -type d -print \
+               ${FIND} . -depth -type d -print \
                        -exec ${RMDIR} {} \; > /dev/null 2>&1; ${TRUE}
 post-install:
        ${STRIP} ${RUBY}



Home | Main Index | Thread Index | Old Index