ports/66525: [PATCH] french/plgrenouille: Fix for pre-5.6 perl
Cyrille Lefevre
cyrille.lefevre at laposte.net
Tue May 11 21:30:27 UTC 2004
The following reply was made to PR ports/66525; it has been noted by GNATS.
From: Cyrille Lefevre <cyrille.lefevre at laposte.net>
To: freebsd gnats <freebsd-gnats-submit at 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 at laposte.net
More information about the freebsd-ports-bugs
mailing list