diff options
-rw-r--r-- | security/p5-Authen-Radius/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/security/p5-Authen-Radius/Makefile b/security/p5-Authen-Radius/Makefile index e3bcb300728a..c7103abfbaed 100644 --- a/security/p5-Authen-Radius/Makefile +++ b/security/p5-Authen-Radius/Makefile @@ -17,15 +17,19 @@ DISTNAME= RadiusPerl-${PORTVERSION} 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 -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${SITE_PERL}/Data/HexDump.pm:${PORTSDIR}/devel/p5-Data-HexDump +RUN_DEPENDS= ${SITE_PERL}/Data/HexDump.pm:${PORTSDIR}/devel/p5-Data-HexDump PERL_CONFIGURE= yes MAN3= Authen::Radius.3 .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 +.endif + .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 |