Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2004 02:45:17 +0900 (JST)
From:      Toshiya SAITOH <toshiya@saitoh.nu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64380: correct perl core module depencency in net/p5-Net
Message-ID:  <20040317174517.8D1A013C@ns.saitoh.nu>
Resent-Message-ID: <200403171750.i2HHoFPE024811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         64380
>Category:       ports
>Synopsis:       correct perl core module depencency in net/p5-Net
>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 09:50:15 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 perl-5.8.0 and later, this ports overwrite perl core modules.
	So, please correct to check the dependency on perl version and perl core module strictly.
	Thanks! 

>How-To-Repeat:
	patch for Makefile.

>Fix:



--- Makefile.orig	Fri Sep 26 16:16:35 2003
+++ Makefile	Thu Mar 18 02:22:56 2004
@@ -16,8 +16,7 @@
 MAINTAINER=	mat@FreeBSD.org
 COMMENT=	Perl5 modules to access and use network protocols
 
-RUN_DEPENDS=	${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL \
-		${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS=	${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL
 
 PERL_CONFIGURE=	yes
 CONFIGURE_ARGS= INSTALLDIRS=site < /dev/null
@@ -33,4 +32,10 @@
 		Net::Time.3 \
 		Net::libnetFAQ.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPEND+=	${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040317174517.8D1A013C>