aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-05-30 23:33:44 +0800
committermat <mat@FreeBSD.org>2016-05-30 23:33:44 +0800
commit8a7e98ffb06fbf17c2bdc0f67a3dc0582b74087a (patch)
tree3e67d373f525497a186ed7e8993fb7ec03d95396 /Mk
parent447d8daa8903448192c991c99f1012af3c057bcd (diff)
downloadfreebsd-ports-graphics-8a7e98ffb06fbf17c2bdc0f67a3dc0582b74087a.tar.gz
freebsd-ports-graphics-8a7e98ffb06fbf17c2bdc0f67a3dc0582b74087a.tar.zst
freebsd-ports-graphics-8a7e98ffb06fbf17c2bdc0f67a3dc0582b74087a.zip
Starting at ExtUtils::MakeMaker 7.06 and Perl 5.25.1, the base
README.pod is no longer manified into a README.3, as the README.pod is installed and can be read with perldoc, remove the README.3 files that may be generated. With hat: perl@ Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/perl5.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 99746b1b941..c8dc83aa250 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -311,6 +311,11 @@ fix-perl-things:
# contain it to not leave orphans directories around.
@${RM} -f ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal.pod* || :
@${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} 2>/dev/null || :
+# Starting at ExtUtils::MakeMaker 7.06 and Perl 5.25.1, the base README.pod is
+# no longer manified into a README.3, as the README.pod is installed and can be
+# read with perldoc, remove the README.3 files that may be generated.
+ @[ -d "${STAGEDIR}${SITE_MAN3}" ] && \
+ ${FIND} ${STAGEDIR}${SITE_MAN3} -name '*::README.3' -delete || :
.if !target(do-test) && (!empty(USE_PERL5:Mmodbuild*) || !empty(USE_PERL5:Mconfigure))
TEST_TARGET?= test