1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix broken :(

This commit is contained in:
Vanilla I. Shu 2013-11-08 14:36:54 +00:00
parent 7ec7468932
commit 791ddc4d73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333232
2 changed files with 2 additions and 13 deletions

View File

@ -16,9 +16,9 @@ RUN_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= perl5
USE_PERL5= configure patch
USE_PERL5= configure
post-patch:
@${PERL} -pi -e "s/(?<=XML::SAX::Base => ')1\.00(?=')/0.25/;" ${WRKSRC}/Makefile.PL
@${REINPLACE_CMD} -e 's|-I\\$$(INSTALLSITELIB)|-I\\$$(DESTDIR)\\$$(INSTALLSITELIB)|' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
--- Makefile.PL.orig 2013-11-08 19:55:12.000000000 +0800
+++ Makefile.PL 2013-11-08 19:55:54.000000000 +0800
@@ -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\@\$(PERL) -I\$(DESTDIR)\$(INSTALLSITELIB) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"
INSTALL
} else {