1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Fix build for perl < 5.8

Reported by:	pointyhat via kris
This commit is contained in:
Mathieu Arnold 2004-06-14 12:19:49 +00:00
parent 37bff1b3d3
commit a7a047aedc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111456

View File

@ -30,7 +30,7 @@ MAN3= Bundle::PerlPoint.3 \
.if !defined(NOPORTDOCS)
post-patch:
@cd ${WRKSRC}; ${MV} pp2html_styles images doc ; ${LN} -s doc/pp2html_styles ; ${LN} -s doc/images
@cd ${WRKSRC}; ${CP} -R pp2html_styles images doc
@${PERL} -pi -e 's!../(images|pp2html_styles)!$$1!g' ${WRKSRC}/doc/*.cfg
post-build:
@ -41,4 +41,10 @@ post-install:
@cd ${WRKSRC}/doc; ${FIND} . | ${CPIO} -padm ${DOCSDIR}
.endif
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
.endif
.include <bsd.port.post.mk>