Depend on textproc/PodParser only if PERL_LEVEL < 500800.

Submitted by:	ale
This commit is contained in:
Dmitry Sivachenko 2004-07-02 08:46:38 +00:00
parent cda9f15314
commit 58a40fad84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112753

View File

@ -46,6 +46,12 @@ MAN1= cfgmaker.1 indexmaker.1 mrtg-contrib.1 mrtg-faq.1 mrtg-forum.1 \
mrtg-reference.1 mrtg-rrd.1 mrtg-squid.1 mrtg-unix-guide.1 \
mrtg-webserver.1 mrtg.1 mrtglib.1
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
.endif
post-patch:
${RM} ${WRKSRC}/lib/mrtg2/BER.pm ${WRKSRC}/lib/mrtg2/SNMP_*.pm
.if defined(WITH_GD1)
@ -83,4 +89,4 @@ post-install:
@${ECHO} "############################################################################"
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>