1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Make p5-Test-Simple dependency conditional.

Approved by:	mat (maintainer)
This commit is contained in:
Jun Kuriyama 2004-08-25 02:27:34 +00:00
parent 127d948d09
commit 91de6dd40b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117215

View File

@ -16,7 +16,6 @@ MAINTAINER= mat@FreeBSD.org
COMMENT= Check for POD errors in files
BUILD_DEPENDS= ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
${SITE_PERL}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Builder-Tester \
${SITE_PERL}/Pod/Simple.pm:${PORTSDIR}/textproc/p5-Pod-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
@ -31,5 +30,8 @@ MAN3= Test::Pod.3
post-patch:
@${PERL} -pi -e 's/(my )?\$$dh/DH/g' ${WRKSRC}/Pod.pm
.endif
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>