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 <franco@lastsummer.de>
This commit is contained in:
Kurt Jaeger 2017-01-16 18:16:48 +00:00
parent 6863144244
commit 2e68e8e5b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431686

View File

@ -80,4 +80,10 @@ do-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${DOCSDIR}
.endfor
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 502200
RUN_DEPENDS+= p5-CGI>0:www/p5-CGI
.endif
.include <bsd.port.post.mk>