aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-SAX
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-07 03:52:41 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-07 03:52:41 +0000
commitfb2d5da4ebc1084c623330fb16bdcba15bb94569 (patch)
tree36786afbdfb0f0368eaca996fb006935240c6493 /textproc/p5-XML-SAX
parent641aebe3adc2c952a71a943fa648da6f4daf0b14 (diff)
Notes
Diffstat (limited to 'textproc/p5-XML-SAX')
-rw-r--r--textproc/p5-XML-SAX/Makefile5
-rw-r--r--textproc/p5-XML-SAX/files/patch-Makefile.PL17
2 files changed, 12 insertions, 10 deletions
diff --git a/textproc/p5-XML-SAX/Makefile b/textproc/p5-XML-SAX/Makefile
index 3c32ec03cd5d..4ae322eaa3bc 100644
--- a/textproc/p5-XML-SAX/Makefile
+++ b/textproc/p5-XML-SAX/Makefile
@@ -18,15 +18,10 @@ RUN_DEPENDS= p5-XML-NamespaceSupport>=0.03:${PORTSDIR}/textproc/p5-XML-Namespace
USES= perl5
USE_PERL5= configure
-MAN3= XML::SAX.3 XML::SAX::DocumentLocator.3 XML::SAX::Intro.3 \
- XML::SAX::ParserFactory.3 XML::SAX::PurePerl.3 \
- XML::SAX::PurePerl::Reader.3
-
OPTIONS_DEFINE= WRITE_INI_OK
WRITE_INI_OK_DESC= Alter ParserDetails.ini information
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MWRITE_INI_OK}
diff --git a/textproc/p5-XML-SAX/files/patch-Makefile.PL b/textproc/p5-XML-SAX/files/patch-Makefile.PL
index c08929ce9dac..66c910cdb6af 100644
--- a/textproc/p5-XML-SAX/files/patch-Makefile.PL
+++ b/textproc/p5-XML-SAX/files/patch-Makefile.PL
@@ -1,8 +1,6 @@
-Used in conjuntion with a REINPLACE_CMD in post-patch
-
---- Makefile.PL.orig 2012-05-27 20:36:08.188491094 +0100
-+++ Makefile.PL 2012-05-27 20:37:51.088491081 +0100
-@@ -28,10 +28,7 @@
+--- Makefile.PL.orig 2013-11-07 09:23:43.000000000 +0800
++++ Makefile.PL 2013-11-07 09:25:19.000000000 +0800
+@@ -28,10 +28,7 @@ sub MY::install {
else {
my $dir = File::Basename::dirname($INC{'XML/SAX.pm'});
if (-e File::Spec->catfile($dir, 'SAX', 'ParserDetails.ini')) {
@@ -14,3 +12,12 @@ Used in conjuntion with a REINPLACE_CMD in post-patch
}
else {
$write_ini_ok = 1;
+@@ -43,7 +40,7 @@ sub MY::install {
+ $script .= <<"INSTALL";
+
+ install_sax_pureperl :
+-\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
++\t\@\$(PERL) -I\$(DESTDIR)\$(INSTALLSITELIB) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
+
+ INSTALL
+