From 2e68e8e5b997271eadd64f4ad7748dfc20b7bfd8 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Mon, 16 Jan 2017 18:16:48 +0000 Subject: [PATCH] www/lightsquid: add p5-CGI runtime dependency for newer Perl versions - CGI was removed from Perl core in 5.22 PR: 215900 Submitted by: Franco Fichtner --- www/lightsquid/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/www/lightsquid/Makefile b/www/lightsquid/Makefile index 464485925456..e6bdafecd91b 100644 --- a/www/lightsquid/Makefile +++ b/www/lightsquid/Makefile @@ -80,4 +80,10 @@ do-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${DOCSDIR} .endfor -.include +.include + +.if ${PERL_LEVEL} >= 502200 +RUN_DEPENDS+= p5-CGI>0:www/p5-CGI +.endif + +.include