aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-05-21 14:01:34 +0000
committerClement Laforet <clement@FreeBSD.org>2004-05-21 14:01:34 +0000
commitd97c38cb1843ceca8025621505bcd898a171674b (patch)
tree53424bf3176d1762454c6f42c3378fcf2b3b790c /french
parent6547017c585411af2f3ef2031447d6c546a60225 (diff)
downloadports-d97c38cb1843ceca8025621505bcd898a171674b.tar.gz
ports-d97c38cb1843ceca8025621505bcd898a171674b.zip
Notes
Diffstat (limited to 'french')
-rw-r--r--french/plgrenouille/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/french/plgrenouille/Makefile b/french/plgrenouille/Makefile
index ba14086732f3..1f7aa413aae9 100644
--- a/french/plgrenouille/Makefile
+++ b/french/plgrenouille/Makefile
@@ -16,9 +16,15 @@ COMMENT= Un client pour determiner votre bande passante a un raccordement large
LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
RUN_DEPENDS= ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
- ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP3
+.else
+RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP
+.endif
+
.if !defined(BATCH)
IS_INTERACTIVE= yes
.endif
@@ -110,4 +116,4 @@ display-message:
configure-package:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>