diff options
author | pav <pav@FreeBSD.org> | 2006-03-21 07:02:01 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-03-21 07:02:01 +0800 |
commit | 742f4c13d220c9a52809c2558afa07d43455d37e (patch) | |
tree | 774c5927716814da6ea6c64bc52c414882d8137b | |
parent | 43648a7ff3e6229dc39deafe29424223e14974ba (diff) | |
download | freebsd-ports-gnome-742f4c13d220c9a52809c2558afa07d43455d37e.tar.gz freebsd-ports-gnome-742f4c13d220c9a52809c2558afa07d43455d37e.tar.zst freebsd-ports-gnome-742f4c13d220c9a52809c2558afa07d43455d37e.zip |
- Only depend on p5-CGI on perl < 5.8
PR: ports/94638
Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
-rw-r--r-- | www/validator/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/validator/Makefile b/www/validator/Makefile index 42cf1a1d3d74..4a9d6e02a9c1 100644 --- a/www/validator/Makefile +++ b/www/validator/Makefile @@ -7,6 +7,7 @@ PORTNAME= validator PORTVERSION= 0.7.2 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://validator.w3.org/dist/ \ http://www.cyberbotx.com/w3c-validator/ @@ -16,7 +17,6 @@ MAINTAINER= cyberbotx@cyberbotx.com 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 @@ post-install: 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> |