ports/68577: Update p5-Digest-SHA1 for Perl 5.8

David Lay dsl at webize.com.au
Fri Jul 2 02:11:23 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list