summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-09-05 07:25:04 +0000
committererwin <erwin@FreeBSD.org>2003-09-05 07:25:04 +0000
commitfe0814ceee24f208469570b9c55f04a54739392d (patch)
treea0f63bbfc43324cd76255c01fdb16ab738e71426 /textproc
parent2b99d1827602e7142b50606190332f7cf7fc90a8 (diff)
downloadFreeBSD-ports-fe0814ceee24f208469570b9c55f04a54739392d.zip
FreeBSD-ports-fe0814ceee24f208469570b9c55f04a54739392d.tar.gz
Fix build on perl 5.005_03
Reported by: Mark Linimon <linimon@lonesome.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-XML-SimpleObject/Makefile5
-rw-r--r--textproc/p5-XML-SimpleObject/files/patch-Enhanced-Makefile.PL9
-rw-r--r--textproc/p5-XML-SimpleObject/files/patch-LibXML-Makefile.PL9
-rw-r--r--textproc/p5-XML-SimpleObject/files/patch-Makefile.PL9
4 files changed, 31 insertions, 1 deletions
diff --git a/textproc/p5-XML-SimpleObject/Makefile b/textproc/p5-XML-SimpleObject/Makefile
index 2b59214..4017ab8 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>
diff --git a/textproc/p5-XML-SimpleObject/files/patch-Enhanced-Makefile.PL b/textproc/p5-XML-SimpleObject/files/patch-Enhanced-Makefile.PL
new file mode 100644
index 0000000..5aa9fed
--- /dev/null
+++ b/textproc/p5-XML-SimpleObject/files/patch-Enhanced-Makefile.PL
@@ -0,0 +1,9 @@
+--- Enhanced/Makefile.PL.orig Fri Sep 5 09:20:57 2003
++++ Enhanced/Makefile.PL Fri Sep 5 09:21:13 2003
+@@ -4,5 +4,5 @@
+
+ WriteMakefile(
+ 'NAME' => 'XML::SimpleObject::Enhanced',
+- 'VERSION_FROM' => 'Enhanced.pm', # finds $VERSION
++ 'VERSION' => '0.53',
+ );
diff --git a/textproc/p5-XML-SimpleObject/files/patch-LibXML-Makefile.PL b/textproc/p5-XML-SimpleObject/files/patch-LibXML-Makefile.PL
new file mode 100644
index 0000000..e5e8838
--- /dev/null
+++ b/textproc/p5-XML-SimpleObject/files/patch-LibXML-Makefile.PL
@@ -0,0 +1,9 @@
+--- LibXML/Makefile.PL.orig Fri Sep 5 09:11:38 2003
++++ LibXML/Makefile.PL Fri Sep 5 09:11:56 2003
+@@ -9,5 +9,5 @@
+ print "OK\n";
+ WriteMakefile(
+ 'NAME' => 'XML::SimpleObject::LibXML',
+- 'VERSION_FROM' => 'LibXML.pm', # finds $VERSION
++ 'VERSION' => '0.53',
+ );
diff --git a/textproc/p5-XML-SimpleObject/files/patch-Makefile.PL b/textproc/p5-XML-SimpleObject/files/patch-Makefile.PL
new file mode 100644
index 0000000..0a46284
--- /dev/null
+++ b/textproc/p5-XML-SimpleObject/files/patch-Makefile.PL
@@ -0,0 +1,9 @@
+--- Makefile.PL.orig Fri Sep 5 09:09:14 2003
++++ Makefile.PL Fri Sep 5 09:09:41 2003
+@@ -9,5 +9,5 @@
+
+ WriteMakefile(
+ 'NAME' => 'XML::SimpleObject',
+- 'VERSION_FROM' => 'SimpleObject.pm', # finds $VERSION
++ 'VERSION' => '0.53',
+ );
OpenPOWER on IntegriCloud