1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

Depend on textproc/p5-PodParser if ${PERL_LEVEL} < 500601.

This should fix build on -stable with perl 5.0.

Problem spotted by:	Joe Marcus Clarke
This commit is contained in:
Dmitry Sivachenko 2004-01-19 06:15:45 +00:00
parent ed868c969d
commit c1b22e3eaf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98524

View File

@ -25,4 +25,11 @@ MAN3= Test::Harness.3 Test::Harness::Assert.3 \
post-patch:
${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
RUN_DEPENDS= ${BUILD_DEPENDS}
.endif
.include <bsd.port.post.mk>