diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-08-25 02:27:34 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-08-25 02:27:34 +0000 |
commit | 185cbd8f49de7ad897d43ae92c8f6da262fb3712 (patch) | |
tree | 336e3b3e100cb605e2ecde0c15e7b5e6189ebc37 /devel/p5-Test-Pod | |
parent | e50a7929a45f0c23dd04ec0846f89f16f96deceb (diff) | |
download | FreeBSD-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/Makefile | 4 |
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> |