mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
It does not build with old Perl, so require Perl from ports.
This commit is contained in:
parent
f7733fd3c2
commit
0b47ecf10c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155568
1 changed files with 2 additions and 5 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= HTML-Parser
|
||||
PORTVERSION= 3.49
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= HTML
|
||||
|
@ -33,11 +34,7 @@ MAN3= HTML::Entities.3 \
|
|||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
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
|
||||
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue