summaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Pod
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-08-25 02:27:34 +0000
committerkuriyama <kuriyama@FreeBSD.org>2004-08-25 02:27:34 +0000
commit185cbd8f49de7ad897d43ae92c8f6da262fb3712 (patch)
tree336e3b3e100cb605e2ecde0c15e7b5e6189ebc37 /devel/p5-Test-Pod
parente50a7929a45f0c23dd04ec0846f89f16f96deceb (diff)
downloadFreeBSD-ports-185cbd8f49de7ad897d43ae92c8f6da262fb3712.zip
FreeBSD-ports-185cbd8f49de7ad897d43ae92c8f6da262fb3712.tar.gz
Make p5-Test-Simple dependency conditional.
Approved by: mat (maintainer)
Diffstat (limited to 'devel/p5-Test-Pod')
-rw-r--r--devel/p5-Test-Pod/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/p5-Test-Pod/Makefile b/devel/p5-Test-Pod/Makefile
index bfa0e30..e862a20 100644
--- a/devel/p5-Test-Pod/Makefile
+++ b/devel/p5-Test-Pod/Makefile
@@ -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>
OpenPOWER on IntegriCloud