diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/p5-Authen-Radius/Makefile | 13 |
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> |