diff --git a/www/p5-Furl/Makefile b/www/p5-Furl/Makefile index 60157ccad0a7..de49a24d9013 100644 --- a/www/p5-Furl/Makefile +++ b/www/p5-Furl/Makefile @@ -18,6 +18,8 @@ COMMENT= Perl extension of lightning-fast URL fetcher RUN_DEPENDS= \ p5-HTTP-Parser-XS>=0.11:${PORTSDIR}/www/p5-HTTP-Parser-XS BUILD_DEPENDS= ${RUN_DEPENDS} +TEST_DEPENDS= p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires \ + p5-Test-TCP>=0:${PORTSDIR}/devel/p5-Test-TCP PERL_CONFIGURE= yes @@ -26,4 +28,10 @@ MAN3= Furl.3 \ Furl::Headers.3 \ Furl::Response.3 -.include +.include + +.if ${PERL_LEVEL} < 501400 +TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include