Date: Thu, 18 Mar 2004 00:41:50 +0900 (JST) From: Toshiya SAITOH <toshiya@saitoh.saitoh.nu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/64377: correct perl module depencency in net/smokeping Message-ID: <20040317154150.7EC091BE@ns.saitoh.nu> Resent-Message-ID: <200403171550.i2HFoD42009477@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040317154150.7EC091BE>