pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/jade Don't rely on xargs behaviour to pass ar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc8e38b179b9
branches:  trunk
changeset: 464849:fc8e38b179b9
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Dec 16 11:30:57 2003 +0000

description:
Don't rely on xargs behaviour to pass arguments correctly to rm, instead
execute if necessary directly from find.  Fixes breakage on systems
which output "blah" from $(echo | xargs echo "blah") (Solaris, Linux, ..)

diffstat:

 textproc/jade/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 057c8d8cb710 -r fc8e38b179b9 textproc/jade/Makefile
--- a/textproc/jade/Makefile    Tue Dec 16 11:22:31 2003 +0000
+++ b/textproc/jade/Makefile    Tue Dec 16 11:30:57 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2003/07/13 13:53:33 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2003/12/16 11:30:57 sketch Exp $
 
 DISTNAME=      jade-1.2.1
 PKGREVISION=   7
@@ -32,7 +32,7 @@
 
 post-patch:
        @${CHMOD} -R +w ${WRKSRC}
-       @${FIND} ${WRKSRC} -name '*.orig' -size 0c -type f | ${XARGS} ${RM}
+       @${FIND} ${WRKSRC} -name '*.orig' -size 0c -type f -exec ${RM} {} \;
 
 post-install:
        @for prog in jade nsgmls sgmlnorm spam spent sx; do             \



Home | Main Index | Thread Index | Old Index