Fix build under Perl < 5.6.x

This commit is contained in:
Sergey Skvortsov 2002-11-05 13:57:29 +00:00
parent 3f097e4836
commit e1ca03ab1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69530

View file

@ -27,6 +27,7 @@ CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \
post-patch:
@${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/Sablotron/Makefile.PL
@${PERL} -pi -e 's/^our /my /;' ${WRKSRC}/Makefile.PL
MAN3= XML::Sablotron.3 XML::Sablotron::DOM.3 \
XML::Sablotron::SAXBuilder.3