Skip site navigation (1)Skip section navigation (2)
Date:      2 Jul 2004 02:02:28 -0000
From:      David Lay <dsl@webize.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68577: Update p5-Digest-SHA1 for Perl 5.8
Message-ID:  <20040702020228.38387.qmail@mayhem.webize.com.au>
Resent-Message-ID: <200407020210.i622AJkk041023@freefall.freebsd.org>

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

>Number:         68577
>Category:       ports
>Synopsis:       Update p5-Digest-SHA1 for Perl 5.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 02 02:10:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Lay
>Release:        N/A
>Organization:
Webize
>Environment:
N/A

>Description:
	p5-Digest-SHA1 has a dependency on p5-Digest.  p5-Digest is available
        in the base Perl 5.8 distribution.  We don't want to add p5-Digest to
        the dependency list if Perl 5.8 is used.
>How-To-Repeat:
	
>Fix:

diff -ur p5-Digest-SHA1.orig/Makefile p5-Digest-SHA1/Makefile
--- p5-Digest-SHA1.orig/Makefile	Mon Jun 21 11:00:47 2004
+++ p5-Digest-SHA1/Makefile	Thu Jul  1 11:45:17 2004
@@ -15,11 +15,15 @@
 MAINTAINER=	erwin@FreeBSD.org
 COMMENT=	Perl interface to the SHA-1 Algorithm
 
-BUILD_DEPENDS=	${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
 PERL_CONFIGURE=	yes
 
 MAN3=		Digest::SHA1.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS=	${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
+RUN_DEPENDS=	${BUILD_DEPENDS}
+.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?20040702020228.38387.qmail>