pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/prayer Do not use "find -d". This option is not a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74a29e5ed859
branches:  trunk
changeset: 467316:74a29e5ed859
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed Jan 28 23:51:19 2004 +0000

description:
Do not use "find -d". This option is not available on all supported platforms.

diffstat:

 mail/prayer/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 221006fcceaa -r 74a29e5ed859 mail/prayer/Makefile
--- a/mail/prayer/Makefile      Wed Jan 28 23:41:08 2004 +0000
+++ b/mail/prayer/Makefile      Wed Jan 28 23:51:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/01/24 13:55:30 grant Exp $
+# $NetBSD: Makefile,v 1.12 2004/01/28 23:51:19 heinz Exp $
 #
 
 DISTNAME=      prayer-1.0.8
@@ -34,7 +34,9 @@
        ${INSTALL_DATA_DIR} ${EGDIR}
 
 post-install:
-       ${FIND} -d ${PREFIX}/share/prayer -name CVS -type d -exec ${RM} -r {} \;
+       #${FIND} -d ${PREFIX}/share/prayer -name CVS -type d -exec ${RM} -r {} \;
+       ${FIND} ${PREFIX}/share/prayer -name CVS -type d -print | ${SORT} -r | \
+               ${XARGS} ${RM} -r
 
 .include "../../databases/db4/buildlink2.mk"
 .include "../../devel/zlib/buildlink2.mk"



Home | Main Index | Thread Index | Old Index