aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-08-19 13:49:57 +0800
committerdaichi <daichi@FreeBSD.org>2003-08-19 13:49:57 +0800
commit81ec59a28424fcc31f5f15cfba1ac0224b1a23f6 (patch)
treea354ac88b8982f89c66fbbcf3196a53a46cac7fe
parentfb85175a40d3e590a6d22bf1e8964f5ddf6e24ca (diff)
downloadfreebsd-ports-gnome-81ec59a28424fcc31f5f15cfba1ac0224b1a23f6.tar.gz
freebsd-ports-gnome-81ec59a28424fcc31f5f15cfba1ac0224b1a23f6.tar.zst
freebsd-ports-gnome-81ec59a28424fcc31f5f15cfba1ac0224b1a23f6.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>
-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>