From 26418b456b75693fc58352756cbd81189f64f500 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 8 Nov 2005 11:18:02 +0000 Subject: 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. --- lang/ruby18-base/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/ruby18-base/Makefile b/lang/ruby18-base/Makefile index e173b3fb757..347ec36a661 100644 --- a/lang/ruby18-base/Makefile +++ b/lang/ruby18-base/Makefile @@ -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 @@ pre-build: # 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} -- cgit v1.2.3