diff options
author | clement <clement@FreeBSD.org> | 2004-05-21 22:01:34 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-05-21 22:01:34 +0800 |
commit | 39e9de20681e701891ed4e1fdc632d4a789c87dc (patch) | |
tree | 88f88d5e5f758aa05a9dded15ccda1b429fc45ce /french | |
parent | d557f03ec1c0b27d03ab88de513a290b258b64b5 (diff) | |
download | freebsd-ports-gnome-39e9de20681e701891ed4e1fdc632d4a789c87dc.tar.gz freebsd-ports-gnome-39e9de20681e701891ed4e1fdc632d4a789c87dc.tar.zst freebsd-ports-gnome-39e9de20681e701891ed4e1fdc632d4a789c87dc.zip |
- Fix for perl < 5.6
PR: ports/66525
Submitted by: Lars Thegler <lars@thegler.dk>
Reviewed/approved by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to 'french')
-rw-r--r-- | french/plgrenouille/Makefile | 10 |
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> |