Use ${RM} -f to avoid failure if no files are found to be removed.

This commit is contained in:
hans 2012-02-02 09:48:42 +00:00
parent 12a6f3e01d
commit a64700284a
9 changed files with 18 additions and 18 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2011/08/14 16:05:45 obache Exp $
# $NetBSD: Makefile,v 1.17 2012/02/02 09:48:42 hans Exp $
DISTNAME= CGI-FormBuilder-3.0501
PKGNAME= p5-${DISTNAME}
@ -20,7 +20,7 @@ DEPENDS+= p5-Text-Template>=1.43:../../textproc/p5-Text-Template
#DEPENDS+= p5-Template-Toolkit>=2.08:../../www/p5-Template-Toolkit
pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM}
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2011/08/14 16:05:58 obache Exp $
# $NetBSD: Makefile,v 1.23 2012/02/02 09:50:07 hans Exp $
#
DISTNAME= HTTP-Request-Form-0.952
@ -21,7 +21,7 @@ DEPENDS+= p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
PERL5_PACKLIST= auto/HTTP/Request/Form/.packlist
pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM}
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2011/08/14 16:06:03 obache Exp $
# $NetBSD: Makefile,v 1.9 2012/02/02 09:51:14 hans Exp $
DISTNAME= LWP-Authen-Negotiate-0.08
PKGNAME= p5-${DISTNAME}
@ -20,7 +20,7 @@ DEPENDS+= {perl>=5.10,p5-MIME-Base64>=2.12}:../../converters/p5-MIME-Base64
PERL5_PACKLIST= auto/LWP/Authen/Negotiate/.packlist
pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM}
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.36 2012/01/22 19:38:54 abs Exp $
# $NetBSD: Makefile,v 1.37 2012/02/02 09:52:40 hans Exp $
DISTNAME= Template-Toolkit-2.23
PKGNAME= p5-${DISTNAME}
@ -24,7 +24,7 @@ MAKE_PARAMS= TT_ACCEPT=y
PKG_DESTDIR_SUPPORT= user-destdir
pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM}
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/08/26 13:46:43 cheusov Exp $
# $NetBSD: Makefile,v 1.2 2012/02/02 09:55:25 hans Exp $
#
DISTNAME= yaws-1.91
@ -46,7 +46,7 @@ post-patch:
${RM} ${WRKDIR}/yaws
${RM} -Rf ${WRKSRC}/www/.xvpics
${RM} -Rf ${WRKSRC}/www/testdir
${FIND} ${WRKSRC} -name \*.orig -o -name .empty | ${XARGS} ${RM}
${FIND} ${WRKSRC} -name \*.orig -o -name .empty | ${XARGS} ${RM} -f
pre-configure:
cd ${WRKSRC} && autoconf

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2011/11/11 18:46:58 joerg Exp $
# $NetBSD: Makefile,v 1.12 2012/02/02 09:57:27 hans Exp $
# FreeBSD Id: ports/www/zope29/Makefile,v 1.86 2006/08/03 15:53:04 garga Exp
DISTNAME= Zope-${ZOPE210_VERSION}-final
@ -82,7 +82,7 @@ post-build:
pre-install:
${FIND} ${WRKSRC} \( -name '*.orig' -o -name svn-commit.tmp \) \
-print | ${XARGS} -- ${RM}
-print | ${XARGS} -- ${RM} -f
post-install:
cd ${WRKSRC}/doc/ZEO; pax -rw *.txt ${DESTDIR}${ZOPE_DOC_DIR}/zeo

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2011/11/11 18:48:24 joerg Exp $
# $NetBSD: Makefile,v 1.8 2012/02/02 09:56:53 hans Exp $
#
DISTNAME= Zope-${ZOPE211_VERSION}-final
@ -82,7 +82,7 @@ post-build:
pre-install:
${FIND} ${WRKSRC} \( -name '*.orig' -o -name svn-commit.tmp \) \
-print | ${XARGS} -- ${RM}
-print | ${XARGS} -- ${RM} -f
post-install:
cd ${WRKSRC}/doc/ZEO; pax -rw *.txt ${DESTDIR}${ZOPE_DOC_DIR}/zeo

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2011/11/11 18:48:24 joerg Exp $
# $NetBSD: Makefile,v 1.25 2012/02/02 09:58:07 hans Exp $
# FreeBSD Id: ports/www/zope29/Makefile,v 1.86 2006/08/03 15:53:04 garga Exp
DISTNAME= Zope-${ZOPE29_VERSION}-final
@ -77,7 +77,7 @@ post-build:
cd ${WRKSRC}; ${PY_COMPILE_ALL} .
pre-install:
${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} -- ${RM}
${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} -- ${RM} -f
post-install:
cd ${WRKSRC}/doc/ZEO; pax -rw *.txt ${DESTDIR}${ZOPE_DOC_DIR}/zeo

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.73 2012/01/22 19:00:34 abs Exp $
# $NetBSD: Makefile,v 1.74 2012/02/02 09:53:44 hans Exp $
DISTNAME= Tk-804.030
PKGNAME= p5-${DISTNAME}
@ -33,7 +33,7 @@ SUBST_FILES.prefix= PNG/Makefile.PL
SUBST_SED.prefix= -e 's,%%LOCALBASE%%,${LOCALBASE},g'
pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -type f -print0 | ${XARGS} -0 ${RM}
${FIND} ${WRKSRC} -name "*.orig" -type f -print0 | ${XARGS} -0 ${RM} -f
.include "../../lang/perl5/module.mk"
.include "../../graphics/png/buildlink3.mk"