diff options
Diffstat (limited to 'devel/p5-Context-Preserve/Makefile')
-rw-r--r-- | devel/p5-Context-Preserve/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/p5-Context-Preserve/Makefile b/devel/p5-Context-Preserve/Makefile index 70b471f92a2c..793f0be972b1 100644 --- a/devel/p5-Context-Preserve/Makefile +++ b/devel/p5-Context-Preserve/Makefile @@ -12,10 +12,15 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Run code after a subroutine call, preserving the context the subroutine -TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok \ - p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception +TEST_DEPENDS= p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception USES= perl5 USE_PERL5= configure -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502200 +TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |