From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 18 11:50:18 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D85A616A423 for ; Sat, 18 Mar 2006 11:50:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1314E43D45 for ; Sat, 18 Mar 2006 11:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2IBoHGC051237 for ; Sat, 18 Mar 2006 11:50:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2IBoHpF051232; Sat, 18 Mar 2006 11:50:17 GMT (envelope-from gnats) Resent-Date: Sat, 18 Mar 2006 11:50:17 GMT Resent-Message-Id: <200603181150.k2IBoHpF051232@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KIMURA Yasuhiro Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4872916A41F for ; Sat, 18 Mar 2006 11:41:11 +0000 (UTC) (envelope-from yasu@home.utahime.org) Received: from utahime.as.wakwak.ne.jp (utahime.as.wakwak.ne.jp [61.205.238.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id D57F043D49 for ; Sat, 18 Mar 2006 11:41:10 +0000 (GMT) (envelope-from yasu@home.utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by utahime.as.wakwak.ne.jp (Postfix) with ESMTP id 5F70EB84E; Sat, 18 Mar 2006 20:41:09 +0900 (JST) Received: from eastasia.home.utahime.org (localhost.home.utahime.org [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id E298BED; Sat, 18 Mar 2006 20:41:08 +0900 (JST) Received: by eastasia.home.utahime.org (Postfix, from userid 1000) id A4D4F2D; Sat, 18 Mar 2006 20:41:08 +0900 (JST) Message-Id: <20060318114108.A4D4F2D@eastasia.home.utahime.org> Date: Sat, 18 Mar 2006 20:41:08 +0900 (JST) From: KIMURA Yasuhiro To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 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 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 11:50:19 -0000 >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 --- patch-www::validator ends here --- >Release-Note: >Audit-Trail: >Unformatted: