[Midnightbsd-cvs] mports: textproc/p5-XML-LibXML: The my install step was doing what the
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 11 19:16:13 EDT 2008
Log Message:
-----------
The my install step was doing what the pkg-install already did. Just get rid of it (fixes magus)
Modified Files:
--------------
mports/textproc/p5-XML-LibXML:
Makefile (r1.2 -> r1.3)
Added Files:
-----------
mports/textproc/p5-XML-LibXML/files:
patch-Makefile.PL (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/textproc/p5-XML-LibXML/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L textproc/p5-XML-LibXML/Makefile -L textproc/p5-XML-LibXML/Makefile -u -r1.2 -r1.3
--- textproc/p5-XML-LibXML/Makefile
+++ textproc/p5-XML-LibXML/Makefile
@@ -46,7 +46,4 @@
XML::LibXML::Schema.3 XML::LibXML::Text.3 \
XML::LibXML::XPathContext.3
-post-install:
- @PKG_PREFIX=${PREFIX} ${PERL} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
.include <bsd.port.mk>
--- /dev/null
+++ textproc/p5-XML-LibXML/files/patch-Makefile.PL
@@ -0,0 +1,27 @@
+--- Makefile.PL.orig Sat Oct 11 19:13:52 2008
++++ Makefile.PL Sat Oct 11 19:14:06 2008
+@@ -319,24 +319,6 @@
+ return $str;
+ }
+
+-sub MY::install {
+- package MY;
+- my $script = shift->SUPER::install(@_);
+- unless ( $::skipsaxinstall ) {
+- $script =~ s/install :: (.*)$/install :: $1 install_sax_driver/m;
+- $script .= <<"INSTALL";
+-
+-install_sax_driver :
+-\t\@\$(PERL) -I\$(INSTALLSITELIB) -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+-\t\@\$(PERL) -I\$(INSTALLSITELIB) -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+-
+-INSTALL
+- } else {
+- warn "Note: 'make install' will skip XML::LibXML::SAX registration with XML::SAX!\n";
+- }
+- return $script;
+-}
+-
+ sub MY::test {
+ package MY;
+ my $script = shift->SUPER::test(@_);
More information about the Midnightbsd-cvs
mailing list