ports/64377: correct perl module depencency in net/smokeping
Toshiya SAITOH
toshiya at saitoh.saitoh.nu
Wed Mar 17 15:50:14 UTC 2004
>Number: 64377
>Category: ports
>Synopsis: correct perl module depencency in net/smokeping
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 17 07:50:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Toshiya SAITOH
>Release: FreeBSD 4.9-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD dmz.saitoh.nu 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #10: Wed Mar 3 10:42:48 JST 2004 toshiya at dmz.saitoh.nu:/usr/obj/usr/src/sys/AKAFUKU i386
>Description:
If we use per-5.6.x and later, this ports overwrite perl core modules.
So, please correct to check the depencency on perl version and perl modules strictly.
Thanks!
>How-To-Repeat:
patch for Makefile.
>Fix:
--- Makefile.orig Mon Mar 15 12:12:36 2004
+++ Makefile Thu Mar 18 00:33:57 2004
@@ -17,8 +17,6 @@
${SITE_PERL}/CGI/SpeedyCGI.pm:${PORTSDIR}/www/p5-CGI-SpeedyCGI \
${SITE_PERL}/BER.pm:${PORTSDIR}/net-mgmt/p5-SNMP_Session \
${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
- ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser \
${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net
OPTIONS= FPING "Support for fping probes" on
@@ -28,6 +26,14 @@
OPTIONS+= RADIUS "Support for Radius probes" off
.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+.endif
+
+.if ${PERL_LEVEL} < 500600
+RUN_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
+.endif
.ifdef(WITH_FPING)
RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list