From fa83372329a6825e0ef80cb7ccd1b69467d17d44 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Wed, 7 Mar 2012 16:03:33 +0000 Subject: [PATCH] - Add TEST_DEPENDS to enable testing Approved by: portmgr (blanket) --- www/p5-Furl/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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