aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-SimpleObject/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-XML-SimpleObject/Makefile')
-rw-r--r--textproc/p5-XML-SimpleObject/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/p5-XML-SimpleObject/Makefile b/textproc/p5-XML-SimpleObject/Makefile
index 2b592142c1c9..4017ab8c3ebe 100644
--- a/textproc/p5-XML-SimpleObject/Makefile
+++ b/textproc/p5-XML-SimpleObject/Makefile
@@ -24,6 +24,9 @@ PERL_CONFIGURE= YES
CONFIGURE_ARGS+= DIR='Enhanced'
MAN3= XML::SimpleObject.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+post-patch:
+ ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
+ ${WRKSRC}/SimpleObject.pm ${WRKSRC}/LibXML/LibXML.pm
.include <bsd.port.mk>