diff --git a/devel/p5-Calendar-Simple/Makefile b/devel/p5-Calendar-Simple/Makefile index c8bfa7c22359..1baa86c8552a 100644 --- a/devel/p5-Calendar-Simple/Makefile +++ b/devel/p5-Calendar-Simple/Makefile @@ -15,11 +15,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Perl extension to create simple calendars -BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ - ${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod +BUILD_DEPENDS= ${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod PERL_CONFIGURE= YES MAN3= Calendar::Simple.3 -.include +.include + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include