From 1ce0775ae3aab8139a7e0ce2112521ee4bf670fa Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 24 Aug 2011 01:56:41 +0000 Subject: - Set TEST_DEPENDS conditionally --- textproc/p5-XML-Stream/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'textproc/p5-XML-Stream') diff --git a/textproc/p5-XML-Stream/Makefile b/textproc/p5-XML-Stream/Makefile index 91c4e4e6b6f0..7d10bf5dd14f 100644 --- a/textproc/p5-XML-Stream/Makefile +++ b/textproc/p5-XML-Stream/Makefile @@ -16,7 +16,6 @@ MAINTAINER= perl@FreeBSD.org COMMENT= XML::Stream provides you with access to XML Stream RUN_DEPENDS= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL -TEST_DEPENDS= p5-Test-Simple>=0.92:${PORTSDIR}/devel/p5-Test-Simple PERL_CONFIGURE= yes @@ -30,6 +29,10 @@ MAN3= XML::Stream.3 \ .include +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.92:${PORTSDIR}/devel/p5-Test-Simple +.endif + .if ${PERL_LEVEL} < 501200 BUILD_DEPENDS+= p5-Module-Build>=0.3603:${PORTSDIR}/devel/p5-Module-Build .endif -- cgit v1.2.3