diff options
-rw-r--r-- | textproc/p5-XML-RSS-JavaScript/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/p5-XML-RSS-JavaScript/Makefile b/textproc/p5-XML-RSS-JavaScript/Makefile index 5a8b33965e50..05a53548866e 100644 --- a/textproc/p5-XML-RSS-JavaScript/Makefile +++ b/textproc/p5-XML-RSS-JavaScript/Makefile @@ -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> |