summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-11-13 17:36:35 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-11-13 17:36:35 +0000
commit2aa337bbdbb15e681df8cc2e0d414446a4337ce3 (patch)
treedcaa988f31a739985286bed72b91946ec6f5e16d /www
parentClean up TEST_DEPENDS, devel/py-unittest2 was removed at 2016-09-26 (diff)
- Revert the removal of PERL_LEVEL check
Notified by: mat
Notes
Notes: svn path=/head/; revision=426060
Diffstat (limited to 'www')
-rw-r--r--www/p5-Net-Async-HTTP/Makefile9
1 files changed, 8 insertions, 1 deletions
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>