From 285f3a5771fb9e51a02ad42c10d135d0f9c0a0c8 Mon Sep 17 00:00:00 2001 From: sketch Date: Tue, 16 Dec 2003 11:30:57 +0000 Subject: 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, ..) --- textproc/jade/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'textproc/jade/Makefile') diff --git a/textproc/jade/Makefile b/textproc/jade/Makefile index 495898f7062..a8c4b62e71a 100644 --- a/textproc/jade/Makefile +++ b/textproc/jade/Makefile @@ -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 @@ CXXFLAGS+= ${CFLAGS} 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 \ -- cgit v1.2.3