Date: Sat, 18 Mar 2006 20:41:08 +0900 (JST) From: KIMURA Yasuhiro <yasu@utahime.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: cyberbotx@cyberbotx.com Subject: ports/94638: [PATCH] www/validator: add www/p5-CGI.pm to RUN_DEPENDS only when perl is older than 5.8.0 Message-ID: <20060318114108.A4D4F2D@eastasia.home.utahime.org> Resent-Message-ID: <200603181150.k2IBoHpF051232@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94638 >Category: ports >Synopsis: [PATCH] www/validator: add www/p5-CGI.pm to RUN_DEPENDS only when perl is older than 5.8.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 18 11:50:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KIMURA Yasuhiro >Release: FreeBSD 6.0-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD xxxx 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #0: Thu Mar 2 04:36:25 JST 2006 xxxx i386 >Description: Version of bundled CGI.pm seems to pass the prerequisite when perl is 5.8.0 or newer. So add www/p5-CGI.pm to RUN_DEPENDS only if perl is older than 5.8.0. >How-To-Repeat: >Fix: --- patch-www::validator begins here --- Index: Makefile =================================================================== RCS file: /usr1/freebsd/cvsroot/ports/www/validator/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 13 Mar 2006 01:42:45 -0000 1.6 +++ Makefile 18 Mar 2006 11:14:48 -0000 @@ -7,6 +7,7 @@ PORTNAME= validator PORTVERSION= 0.7.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://validator.w3.org/dist/ \ http://www.cyberbotx.com/w3c-validator/ @@ -16,7 +17,6 @@ COMMENT= Markup Validation Service from the World Wide Web Consortium (W3C) RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/opensp \ - ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ ${SITE_PERL}/Config/General.pm:${PORTSDIR}/devel/p5-Config-General \ ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \ ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \ @@ -110,4 +110,8 @@ IGNORE= requires Perl 5.6.0 or better to run .endif +.if ${PERL_LEVEL} < 500800 +RUN_DEPENDS+= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm +.endif + .include <bsd.port.post.mk> --- patch-www::validator ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060318114108.A4D4F2D>