diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-08-24 01:56:41 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-08-24 01:56:41 +0000 |
commit | 1ce0775ae3aab8139a7e0ce2112521ee4bf670fa (patch) | |
tree | 260b9697ca79df68f92388609d8de99d72ef2cf2 /textproc/p5-XML-Stream | |
parent | c37a5adc340bf193efa6aaf27431f992551d3616 (diff) | |
download | ports-1ce0775ae3aab8139a7e0ce2112521ee4bf670fa.tar.gz ports-1ce0775ae3aab8139a7e0ce2112521ee4bf670fa.zip |
- Set TEST_DEPENDS conditionally
Notes
Notes:
svn path=/head/; revision=280311
Diffstat (limited to 'textproc/p5-XML-Stream')
-rw-r--r-- | textproc/p5-XML-Stream/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 <bsd.port.pre.mk> +.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 |