summaryrefslogtreecommitdiffstats
path: root/net-mgmt/mrtg
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2004-07-02 08:46:38 +0000
committerdemon <demon@FreeBSD.org>2004-07-02 08:46:38 +0000
commite54d637caff8f65f3e523cb36639a76db388c8f2 (patch)
tree53377db9c8cba4beb038f82217fb3b1710c52009 /net-mgmt/mrtg
parent00803bd14477f830760ca741112f2efc5390fc8f (diff)
downloadFreeBSD-ports-e54d637caff8f65f3e523cb36639a76db388c8f2.zip
FreeBSD-ports-e54d637caff8f65f3e523cb36639a76db388c8f2.tar.gz
Depend on textproc/PodParser only if PERL_LEVEL < 500800.
Submitted by: ale
Diffstat (limited to 'net-mgmt/mrtg')
-rw-r--r--net-mgmt/mrtg/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index 27a6689..5390050 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -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>
OpenPOWER on IntegriCloud