Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2015 01:09:00 +0000 (UTC)
From:      "Philip M. Gollucci" <pgollucci@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393996 - head/www/validator
Message-ID:  <201508120109.t7C190ur038066@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pgollucci
Date: Wed Aug 12 01:09:00 2015
New Revision: 393996
URL: https://svnweb.freebsd.org/changeset/ports/393996

Log:
  www/validator: fix w/ perl 5.22+
  
  - Needs www/p5-CGI.pm for perl 5.22+
  - Bump PORTREVISION
  
  @dirrm already committed by amdmi3@
  
  PR:                  201616
  Submitted by:        yasu@utahime.org
  Approved by:         cyberbotx@cyberbotx.com

Modified:
  head/www/validator/Makefile

Modified: head/www/validator/Makefile
==============================================================================
--- head/www/validator/Makefile	Wed Aug 12 00:31:38 2015	(r393995)
+++ head/www/validator/Makefile	Wed Aug 12 01:09:00 2015	(r393996)
@@ -3,6 +3,7 @@
 
 PORTNAME=	validator
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://validator.w3.org/dist/ \
 		http://www.cyberbotx.com/w3c-validator/
@@ -39,6 +40,12 @@ HTML_TIDY_DESC=	Enable HTML Markup Clean
 
 HTML_TIDY_RUN_DEPENDS=	p5-HTML-Tidy>=0:${PORTSDIR}/textproc/p5-HTML-Tidy
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502200
+RUN_DEPENDS+=	p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm
+.endif
+
 post-extract:
 	@${RM} ${WRKSRC}/README.cvs
 	@${RM} -rf ${WRKSRC}/misc
@@ -56,4 +63,4 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/httpd/cgi-bin/* ${STAGEDIR}${PREFIX}/www/validator/httpd/cgi-bin
 	(cd ${WRKSRC}/share && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/validator/share/)
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508120109.t7C190ur038066>