Subject: | Makefile.PL: correct invocation so that out-of-tree builds and DESTDIR installs work |
Use $(PERLRUNINST) instead of $(PERL).
Subject: | perl-XML-SAX-Expat.src.patch |
--- origsrc/XML-SAX-Expat-0.51/Makefile.PL 2013-05-23 15:16:36.000000000 +0200
+++ src/XML-SAX-Expat-0.51/Makefile.PL 2015-05-23 22:15:33.070735800 +0200
@@ -36,7 +36,7 @@ sub MY::install {
$script .= <<"INSTALL";
install_sax_expat :
-\t\@\$(PERL) -I\$(INSTALLSITELIB) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"
+\t\@\$(PERLRUNINST) -I\$(INSTALLSITELIB) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"
INSTALL
} else {