summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-08-02 08:35:10 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-08-02 08:35:10 +0000
commit755b135dd84e89d1b646ac4b781394f2b3ee2639 (patch)
tree29e2c979eb2df53f5d1d08babdd78a9485ecb9be
parentsysutils/rcm: Update to 1.3.3 (diff)
Fix spurious errors.
PR: 230287 Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D16440
Notes
Notes: svn path=/head/; revision=476224
-rw-r--r--Mk/Uses/perl5.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index eee14b7befb4..46b28a365119 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -307,7 +307,8 @@ fix-perl-things:
${FIND} ${STAGEDIR}${SITE_MAN3} -name '*::README.3' -delete || :
# Starting at ExtUtils::MakeMaker 7.31_06 and Perl 5.27.1, the base README.pod is
# no longer installed. So remove any that can be there.
- @${FIND} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} -name README.pod -delete || :
+ @[ -d "${STAGEDIR}${PREFIX}/${SITE_PERL_REL}" ] && \
+ ${FIND} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL} -name README.pod -delete || :
. if !target(do-test) && (!empty(USE_PERL5:Mmodbuild*) || !empty(USE_PERL5:Mconfigure))
TEST_TARGET?= test