Skip site navigation (1)Skip section navigation (2)
Date:      28 Oct 2004 00:55:39 -0000
From:      David Lay <dsl@webize.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73222: Update net/p5-Net-Radius for Perl 5.8
Message-ID:  <20041028005539.49970.qmail@mayhem.webize.com.au>
Resent-Message-ID: <200410280100.i9S10im1041830@freefall.freebsd.org>

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

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



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