Unbreak with perl5 from base on 4.x.
This commit is contained in:
@@ -23,8 +23,9 @@ MAN3= XML::RSS::JavaScript.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "Does not compile"
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's/^our (\S+)/use vars qw{$$1};$$1/g' ${WRKSRC}/lib/XML/RSS/JavaScript.pm
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
Reference in New Issue
Block a user