Unbreak with perl5 from base on 4.x.

This commit is contained in:
Volker Stolz
2004-05-16 10:07:26 +00:00
parent f0e454a762
commit 99a7284713
+3 -2
View File
@@ -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>