aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Authen-Radius
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-08-19 05:49:57 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-08-19 05:49:57 +0000
commitd9d0520970e817b73c80fad4a3d4580dfddff541 (patch)
tree0d65529071ed6179002d4ea8e59dd88e47511d65 /security/p5-Authen-Radius
parent3a83be0fd0c883a1817497131760c1ec0586addd (diff)
downloadports-d9d0520970e817b73c80fad4a3d4580dfddff541.tar.gz
ports-d9d0520970e817b73c80fad4a3d4580dfddff541.zip
update security/p5-Authen-Radius:
- devel/p5-IO is already included in perl 5.6.x and later PR: 55698 Submitted by: Lars Thegler <lars@thegler.dk>
Notes
Notes: svn path=/head/; revision=87265
Diffstat (limited to 'security/p5-Authen-Radius')
-rw-r--r--security/p5-Authen-Radius/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/security/p5-Authen-Radius/Makefile b/security/p5-Authen-Radius/Makefile
index 68858928652a..e3bcb300728a 100644
--- a/security/p5-Authen-Radius/Makefile
+++ b/security/p5-Authen-Radius/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Authen-Radius
PORTVERSION= 0.09
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Authen
@@ -17,11 +18,17 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A perl5 module to provide simple Radius client facilities
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Data/HexDump.pm:${PORTSDIR}/devel/p5-Data-HexDump \
- ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO
+ ${SITE_PERL}/Data/HexDump.pm:${PORTSDIR}/devel/p5-Data-HexDump
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Authen::Radius.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO
+.endif
+
+.include <bsd.port.post.mk>