From mm@mail2.vx.sk  Mon Sep 20 18:06:54 2010
Return-Path: <mm@mail2.vx.sk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4F64A1065679;
	Mon, 20 Sep 2010 18:06:54 +0000 (UTC)
	(envelope-from mm@mail2.vx.sk)
Received: from mail2.vx.sk (mail2.vx.sk [IPv6:2a01:4f8:100:84a3::3])
	by mx1.freebsd.org (Postfix) with ESMTP id 113B68FC24;
	Mon, 20 Sep 2010 18:06:54 +0000 (UTC)
Received: from neo.vx.sk (localhost [127.0.0.1])
	by mail2.vx.sk (Postfix) with ESMTP id 5FBDDE26E2;
	Mon, 20 Sep 2010 20:06:53 +0200 (CEST)
Received: from mail2.vx.sk ([127.0.0.1])
	by neo.vx.sk (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id Xmt3mj+KLmTQ; Mon, 20 Sep 2010 20:01:51 +0200 (CEST)
Received: by mail2.vx.sk (Postfix, from userid 1001)
	id C9DD7E2694; Mon, 20 Sep 2010 20:01:51 +0200 (CEST)
Message-Id: <20100920180151.C9DD7E2694@mail2.vx.sk>
Date: Mon, 20 Sep 2010 20:01:51 +0200 (CEST)
From: Martin Matuska <mm@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: DougB@FreeBSD.org
Subject: [PATCH] dns/p5-Net-DNS: depend on p5-Digest-SHA only for perl < 5.10.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         150763
>Category:       ports
>Synopsis:       [PATCH] dns/p5-Net-DNS: depend on p5-Digest-SHA only for perl < 5.10.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 20 18:10:02 UTC 2010
>Closed-Date:    Tue Sep 28 09:22:57 UTC 2010
>Last-Modified:  Tue Sep 28 09:22:57 UTC 2010
>Originator:     Martin Matuska
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 8.1-STABLE FreeBSD 8.1-STABLE #1 r212768M: Fri Sep 17 00:01:06 CEST
>Description:
The Digest-SHA module is included in Perl 5.10 and higher.
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 50100

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

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

--- p5-Net-DNS-0.66.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/p5-Net-DNS/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile	9 Aug 2010 08:54:33 -0000	1.75
+++ Makefile	20 Sep 2010 18:00:18 -0000
@@ -16,7 +16,6 @@
 
 # Warnings during build are harmless, the port does not need these to build
 RUN_DEPENDS=	ipcount:${PORTSDIR}/net-mgmt/p5-Net-IP \
-		${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA \
 		${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
 
 MAKE_JOBS_SAFE=	yes
@@ -52,6 +51,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA
+.endif
+
 .if !defined(WITHOUT_IPV6)
 RUN_DEPENDS+=	${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6
 .endif
--- p5-Net-DNS-0.66.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dougb 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 20 18:10:25 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150763 
State-Changed-From-To: open->closed 
State-Changed-By: mm 
State-Changed-When: Tue Sep 28 09:22:56 UTC 2010 
State-Changed-Why:  
Already resolved, thanks! 

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