Fix for pre-5.6 perl Port maintainer (cyrille.lefevre@laposte.net) is cc'd. Generated with FreeBSD Port Tools 0.50
almost approved, except that I prefer to keep RUN_DEPENDS close. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/french/plgrenouille/Makefile,v retrieving revision 1.8 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.8 Makefile --- Makefile 12 Mar 2004 23:49:14 -0000 1.8 +++ Makefile 11 May 2004 21:23:14 -0000 @@ -16,9 +16,15 @@ 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 @@ configure-package: @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> Cyrille Lefevre -- mailto:cyrille.lefevre@laposte.net
State Changed From-To: open->closed Committed, thanks!