- Add TEST_DEPENDS to enable testing
Approved by: portmgr (blanket)
This commit is contained in:
parent
de39124faf
commit
fa83372329
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292887
1 changed files with 9 additions and 1 deletions
|
@ -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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 501400
|
||||
TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue