Skip site navigation (1)Skip section navigation (2)
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:   ports/97115: [PATCH] net/p5-Net: depends on Authen-SASL conditionally
Message-ID:  <20060511021641.AD40EB29C75@utopia.leeym.com>
Resent-Message-ID: <200605110220.k4B2KAtq089242@freefall.freebsd.org>

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

>Number:         97115
>Category:       ports
>Synopsis:       [PATCH] net/p5-Net: depends on Authen-SASL conditionally
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 11 02:20:09 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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