summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjlam <jlam>2001-12-14 19:24:53 +0000
committerjlam <jlam>2001-12-14 19:24:53 +0000
commit9ba7139ba4b3111eecd0462490d863a222368912 (patch)
treef1cfc1d9a7f0db5a4abfa667eed21c9e48ef7d91 /lang/perl5
parentcf79be2d0e7a4fe4baa5e36eaf18786317aefb8c (diff)
downloadpkgsrc-9ba7139ba4b3111eecd0462490d863a222368912.tar.gz
Use 'rm -f' instead of 'rm' in case the files don't already exist.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 857dc9917d2..0147c0cc385 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2001/12/14 05:32:35 jlam Exp $
+# $NetBSD: Makefile,v 1.52 2001/12/14 19:24:53 jlam Exp $
.include "../../lang/perl5/Makefile.common"
@@ -146,7 +146,7 @@ post-build:
post-install:
.if defined(STATIC_PERL) && (${STATIC_PERL} == "YES")
- ${RM} ${PREFIX}/bin/perl ${PREFIX}/bin/perl${PERL_DIST_VERS}
+ ${RM} -f ${PREFIX}/bin/perl ${PREFIX}/bin/perl${PERL_DIST_VERS}
${INSTALL_PROGRAM} ${STATIC_WRKDIR}/${DISTNAME}/perl ${PREFIX}/bin/perl
${LN} -f ${PREFIX}/bin/perl ${PREFIX}/bin/perl${PERL_DIST_VERS}
.endif