Date: Tue, 11 May 2004 14:30:26 -0700 (PDT) From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/66525: [PATCH] french/plgrenouille: Fix for pre-5.6 perl Message-ID: <200405112130.i4BLUQPM016591@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/66525; it has been noted by GNATS. From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: freebsd gnats <freebsd-gnats-submit@freebsd.org> Cc: Subject: Re: ports/66525: [PATCH] french/plgrenouille: Fix for pre-5.6 perl Date: Tue, 11 May 2004 23:24:29 +0200 (CEST) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405112130.i4BLUQPM016591>