From leeym@utopia.leeym.com  Thu May 11 02:16:52 2006
Return-Path: <leeym@utopia.leeym.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B4BD516A40F;
	Thu, 11 May 2006 02:16:52 +0000 (UTC)
	(envelope-from leeym@utopia.leeym.com)
Received: from msr32.hinet.net (msr32.hinet.net [168.95.4.132])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D1C0643D46;
	Thu, 11 May 2006 02:16:51 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52])
	by msr32.hinet.net (8.9.3/8.9.3) with ESMTP id KAA27572;
	Thu, 11 May 2006 10:16:49 +0800 (CST)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id 87A65B29C76;
	Thu, 11 May 2006 10:16:48 +0800 (CST)
Received: from utopia.leeym.com ([127.0.0.1])
	by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id EDt6oODYm07p; Thu, 11 May 2006 10:16:41 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id AD40EB29C75; Thu, 11 May 2006 10:16:41 +0800 (CST)
Message-Id: <20060511021641.AD40EB29C75@utopia.leeym.com>
Date: Thu, 11 May 2006 10:16:41 +0800 (CST)
From: Yen-Ming Lee <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mat@freebsd.org
Subject: [PATCH] net/p5-Net: depends on Authen-SASL conditionally
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97115
>Category:       ports
>Synopsis:       [PATCH] net/p5-Net: depends on Authen-SASL conditionally
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mat
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 11 02:20:09 GMT 2006
>Closed-Date:    Tue Jun 13 18:33:40 GMT 2006
>Last-Modified:  Tue Jun 13 18:33:40 GMT 2006
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.1-RC i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-RC FreeBSD 6.1-RC #0: Thu May  4 09:18:28 CST
>Description:
- depends on Authen-SASL conditionally

Port maintainer (mat@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.75
>How-To-Repeat:
>Fix:

--- p5-Net-1.19,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/p5-Net/Makefile,v
retrieving revision 1.42
diff -u -u -r1.42 Makefile
--- Makefile	11 Jun 2005 16:12:58 -0000	1.42
+++ Makefile	11 May 2006 02:15:49 -0000
@@ -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}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
 
 PERL_CONFIGURE=	yes
 CONFIGURE_ARGS=	< /dev/null
@@ -33,4 +32,11 @@
 		Net::Time.3 \
 		Net::libnetFAQ.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# Authen-SASL is not available under perl 5.005_03
+.if ${PERL_LEVEL} >= 500600
+RUN_DEPENDS+=	${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Net-1.19,1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mat 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 11 02:24:09 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97115 
State-Changed-From-To: open->closed 
State-Changed-By: mat 
State-Changed-When: Tue Jun 13 18:33:35 UTC 2006 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97115 
>Unformatted:
