ports/73222: Update net/p5-Net-Radius for Perl 5.8

David Lay dsl at webize.com.au
Thu Oct 28 01:00:49 UTC 2004


>Number:         73222
>Category:       ports
>Synopsis:       Update net/p5-Net-Radius 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:   Thu Oct 28 01:00:44 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Lay
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
Webize
>Environment:
System: FreeBSD 4.10-RELEASE-p3 

>Description:
	The p5-Net-Radius port has a dependency on Digest::MD5.  Digest::MD5 is available in the base Perl 5.8 distribution.

>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/cvs/FreeBSD/ports/net/p5-Net-Radius/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	3 Jan 2004 21:30:19 -0000	1.5
+++ Makefile	28 Oct 2004 00:45:53 -0000
@@ -15,13 +15,17 @@
 MAINTAINER=	kbyanc at FreeBSD.org
 COMMENT=	A perl module to manipulate RADIUS packets
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
 PERL_CONFIGURE=	yes
 MAN3=		Net::Radius::Dictionary.3 Net::Radius::Packet.3
 
 post-extract:
 	${FIND} ${WRKDIR} -type f | ${XARGS} ${PERL5} -pi -e "s:\r::g"
 
-.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