summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-12-14 19:24:53 +0000
committerjlam <jlam@pkgsrc.org>2001-12-14 19:24:53 +0000
commitc89586b58b73fcaa357849f3281dd0e013a66399 (patch)
treef1cfc1d9a7f0db5a4abfa667eed21c9e48ef7d91 /lang
parent1a22806597955f8aec4d76c7b41a7284e909b87a (diff)
downloadpkgsrc-c89586b58b73fcaa357849f3281dd0e013a66399.tar.gz
Use 'rm -f' instead of 'rm' in case the files don't already exist.
Diffstat (limited to 'lang')
-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