ports/64380: correct perl core module depencency in net/p5-Net

Toshiya SAITOH toshiya at saitoh.nu
Wed Mar 17 17:50:16 UTC 2004

>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
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 17 09:50:15 PST 2004
>Originator:     Toshiya SAITOH
>Release:        FreeBSD 4.9-RELEASE-p3 i386
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

	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.

	patch for Makefile.


--- Makefile.orig	Fri Sep 26 16:16:35 2003
+++ Makefile	Thu Mar 18 02:22:56 2004
@@ -16,8 +16,7 @@
 MAINTAINER=	mat at 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
@@ -33,4 +32,10 @@
 		Net::Time.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
+.include <bsd.port.post.mk>

More information about the freebsd-ports-bugs mailing list