From da61eecde9f62f3e88af9b1b7651dba3007da659 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Fri, 6 Jan 2006 02:04:31 +0000 Subject: - remove IGNORE on old perl PR: 90747 Submitted by: leeym Approved by: maintainer timeout --- www/p5-HTML-Parser/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'www/p5-HTML-Parser') diff --git a/www/p5-HTML-Parser/Makefile b/www/p5-HTML-Parser/Makefile index f333413780e1..f1957f8817f8 100644 --- a/www/p5-HTML-Parser/Makefile +++ b/www/p5-HTML-Parser/Makefile @@ -15,8 +15,9 @@ PKGNAMEPREFIX= p5- MAINTAINER= demon@FreeBSD.org COMMENT= Perl5 module for parsing HTML documents -BUILD_DEPENDS= ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset +BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple PERL_CONFIGURE= yes @@ -31,7 +32,11 @@ MAN3= HTML::Entities.3 \ .include .if ${PERL_LEVEL} < 500600 -IGNORE= requires Perl version 5.6 or above +RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader + +post-patch: + ${REINPLACE_CMD} -e '/require 5.006/d' ${WRKSRC}/${CONFIGURE_SCRIPT} + ${REINPLACE_CMD} -e '/open/s/", $$file/ $$file"/g' ${WRKSRC}/t/unicode.t .endif .include -- cgit v1.2.3