summaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-Parser
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-01-06 02:04:31 +0000
committerleeym <leeym@FreeBSD.org>2006-01-06 02:04:31 +0000
commit36bacf65444b8332796a558397cd287c925d3145 (patch)
treeb12ea371baa4ad04d6ba227b47a71b3ef5a0fa15 /www/p5-HTML-Parser
parent86c8a1593f10c65e1b2e9c180777198a2ea10f7d (diff)
downloadFreeBSD-ports-36bacf65444b8332796a558397cd287c925d3145.zip
FreeBSD-ports-36bacf65444b8332796a558397cd287c925d3145.tar.gz
- remove IGNORE on old perl
PR: 90747 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'www/p5-HTML-Parser')
-rw-r--r--www/p5-HTML-Parser/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/p5-HTML-Parser/Makefile b/www/p5-HTML-Parser/Makefile
index f333413..f1957f8 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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>
OpenPOWER on IntegriCloud