pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Use ${RM} -f to avoid failure if no files are found to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a4d851bba27
branches:  trunk
changeset: 598948:7a4d851bba27
user:      hans <hans%pkgsrc.org@localhost>
date:      Thu Feb 02 09:26:17 2012 +0000

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

diffstat:

 audio/gqmpeg-skins/Makefile                |  4 ++--
 devel/p5-Template-Plugin-VMethods/Makefile |  4 ++--
 devel/p5-Tie-File/Makefile                 |  4 ++--
 editors/TeXmacs-devel/Makefile             |  4 ++--
 editors/TeXmacs/Makefile                   |  4 ++--
 fonts/t1lib/Makefile                       |  4 ++--
 mail/p5-Mail-Ezmlm/Makefile                |  4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diffs (126 lines):

diff -r 14e4b643bbfb -r 7a4d851bba27 audio/gqmpeg-skins/Makefile
--- a/audio/gqmpeg-skins/Makefile       Thu Feb 02 07:54:27 2012 +0000
+++ b/audio/gqmpeg-skins/Makefile       Thu Feb 02 09:26:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2011/03/08 16:15:37 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2012/02/02 09:26:17 hans Exp $
 
 DISTNAME=      gqmpeg-skins-20030712
 PKGREVISION=   6
@@ -101,7 +101,7 @@
                ${FIND} ${DESTDIR}${PREFIX}/share/gqmpeg/skins -type f -print | \
                ${XARGS} ${CHMOD} 644
                ${FIND} ${DESTDIR}${PREFIX}/share/gqmpeg/skins -name "*~" -print | \
-               ${XARGS} ${RM}
+               ${XARGS} ${RM} -f
                ${CHOWN} -R ${BINOWN}:${BINGRP}  ${DESTDIR}${PREFIX}/share/gqmpeg/skins
 
 .include "../../mk/bsd.pkg.mk"
diff -r 14e4b643bbfb -r 7a4d851bba27 devel/p5-Template-Plugin-VMethods/Makefile
--- a/devel/p5-Template-Plugin-VMethods/Makefile        Thu Feb 02 07:54:27 2012 +0000
+++ b/devel/p5-Template-Plugin-VMethods/Makefile        Thu Feb 02 09:26:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/08/14 12:26:38 obache Exp $
+# $NetBSD: Makefile,v 1.6 2012/02/02 09:29:27 hans Exp $
 #
 
 DISTNAME=      Template-Plugin-VMethods-0.03
@@ -19,7 +19,7 @@
 PERL5_PACKLIST=                auto/Template/Plugin/VMethods/.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"
diff -r 14e4b643bbfb -r 7a4d851bba27 devel/p5-Tie-File/Makefile
--- a/devel/p5-Tie-File/Makefile        Thu Feb 02 07:54:27 2012 +0000
+++ b/devel/p5-Tie-File/Makefile        Thu Feb 02 09:26:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/08/14 12:26:46 obache Exp $
+# $NetBSD: Makefile,v 1.7 2012/02/02 09:30:28 hans Exp $
 #
 
 DISTNAME=      Tie-File-0.96
@@ -18,7 +18,7 @@
 PERL5_PACKLIST=                auto/Tie/File/.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"
diff -r 14e4b643bbfb -r 7a4d851bba27 editors/TeXmacs-devel/Makefile
--- a/editors/TeXmacs-devel/Makefile    Thu Feb 02 07:54:27 2012 +0000
+++ b/editors/TeXmacs-devel/Makefile    Thu Feb 02 09:26:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2012/01/13 10:55:00 obache Exp $
+# $NetBSD: Makefile,v 1.7 2012/02/02 09:33:08 hans Exp $
 
 DISTNAME=              TeXmacs-1.0.7.14-src
 PKGNAME=               ${DISTNAME:S/-src//}
@@ -52,7 +52,7 @@
 
 pre-install:
        ${RM} -f ${WRKSRC}/TeXmacs/doc/devel/format/.log
-       ${FIND} ${WRKSRC}/plugins/ -name '*.orig' | ${XARGS} ${RM}
+       ${FIND} ${WRKSRC}/plugins/ -name '*.orig' | ${XARGS} ${RM} -f
 
 # just a helper script, not worth a full perl dependency
 CHECK_INTERPRETER_SKIP=        libexec/TeXmacs/bin/bbox_add.pl
diff -r 14e4b643bbfb -r 7a4d851bba27 editors/TeXmacs/Makefile
--- a/editors/TeXmacs/Makefile  Thu Feb 02 07:54:27 2012 +0000
+++ b/editors/TeXmacs/Makefile  Thu Feb 02 09:26:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2011/11/01 06:01:05 sbd Exp $
+# $NetBSD: Makefile,v 1.93 2012/02/02 09:31:41 hans Exp $
 
 DISTNAME=              TeXmacs-1.0.6.15-src
 PKGNAME=               ${DISTNAME:S/-src//}
@@ -46,7 +46,7 @@
 
 pre-install:
        ${RM} -f ${WRKSRC}/TeXmacs/doc/devel/format/.log
-       ${FIND} ${WRKSRC}/plugins/ -name '*.orig' | ${XARGS} ${RM}
+       ${FIND} ${WRKSRC}/plugins/ -name '*.orig' | ${XARGS} ${RM} -f
 
 # just a helper script, not worth a full perl dependency
 CHECK_INTERPRETER_SKIP=        libexec/TeXmacs/bin/bbox_add.pl
diff -r 14e4b643bbfb -r 7a4d851bba27 fonts/t1lib/Makefile
--- a/fonts/t1lib/Makefile      Thu Feb 02 07:54:27 2012 +0000
+++ b/fonts/t1lib/Makefile      Thu Feb 02 09:26:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2012/01/16 12:42:56 drochner Exp $
+# $NetBSD: Makefile,v 1.48 2012/02/02 09:34:32 hans Exp $
 
 DISTNAME=      t1lib-5.1.2
 PKGREVISION=   6
@@ -45,7 +45,7 @@
        ${CP} ${FILESDIR}/t1lib.config.sample ${WRKSRC}
 
 pre-build:
-       ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM}
+       ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
 
 post-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}
diff -r 14e4b643bbfb -r 7a4d851bba27 mail/p5-Mail-Ezmlm/Makefile
--- a/mail/p5-Mail-Ezmlm/Makefile       Thu Feb 02 07:54:27 2012 +0000
+++ b/mail/p5-Mail-Ezmlm/Makefile       Thu Feb 02 09:26:17 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2011/08/14 13:25:26 obache Exp $
+# $NetBSD: Makefile,v 1.10 2012/02/02 09:36:13 hans Exp $
 #
 
 DISTNAME=              Ezmlm-0.07.2
@@ -30,7 +30,7 @@
 BUILD_DEFS+=           QMAILDIR
 
 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"



Home | Main Index | Thread Index | Old Index