From 2aa337bbdbb15e681df8cc2e0d414446a4337ce3 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 13 Nov 2016 17:36:35 +0000 Subject: - Revert the removal of PERL_LEVEL check Notified by: mat --- www/p5-Net-Async-HTTP/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/p5-Net-Async-HTTP/Makefile b/www/p5-Net-Async-HTTP/Makefile index 9f095df02509..b639d5381888 100644 --- a/www/p5-Net-Async-HTTP/Makefile +++ b/www/p5-Net-Async-HTTP/Makefile @@ -34,4 +34,11 @@ USES= perl5 SSL_BUILD_DEPENDS= p5-IO-Async-SSL>=0.12:security/p5-IO-Async-SSL SSL_RUN_DEPENDS= p5-IO-Async-SSL>=0.12:security/p5-IO-Async-SSL -.include +.include + +.if ${PERL_LEVEL} < 502000 +BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.29:lang/p5-Scalar-List-Utils +RUN_DEPENDS+= p5-Scalar-List-Utils>=1.29:lang/p5-Scalar-List-Utils +.endif + +.include -- cgit v1.2.3