diff options
author | adamw <adamw@FreeBSD.org> | 2015-06-25 00:29:25 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2015-06-25 00:29:25 +0800 |
commit | 475635d0194c2a685c1d35cadcad286989448b70 (patch) | |
tree | e6273a1c16a31c1f575721d9eb86248e44b517d3 /www/p5-Catalyst-Controller-RequestToken | |
parent | eda6af329925c510247b9af3b5b93dd8e3d6ed42 (diff) | |
download | freebsd-ports-gnome-475635d0194c2a685c1d35cadcad286989448b70.tar.gz freebsd-ports-gnome-475635d0194c2a685c1d35cadcad286989448b70.tar.zst freebsd-ports-gnome-475635d0194c2a685c1d35cadcad286989448b70.zip |
Convert all p5-Test-use-ok dependencies to p5-Test-Simple, but only on
perl < 5.22. For www/p5-Catalyst-Controller-BindLex, change it from a
BUILD/RUN depend to TEST, as it is only used for the test target, and bump
PORTREVISION on that port.
Diffstat (limited to 'www/p5-Catalyst-Controller-RequestToken')
-rw-r--r-- | www/p5-Catalyst-Controller-RequestToken/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/p5-Catalyst-Controller-RequestToken/Makefile b/www/p5-Catalyst-Controller-RequestToken/Makefile index 5e88230b7701..54478467bab9 100644 --- a/www/p5-Catalyst-Controller-RequestToken/Makefile +++ b/www/p5-Catalyst-Controller-RequestToken/Makefile @@ -17,9 +17,14 @@ BUILD_DEPENDS= p5-Catalyst-Action-RenderView>=0:${PORTSDIR}/www/p5-Catalyst-Acti p5-Catalyst-Runtime>=5.7000:${PORTSDIR}/www/p5-Catalyst-Runtime \ p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat RUN_DEPENDS:= ${BUILD_DEPENDS} -TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok 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> |