aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-10-30 04:34:02 +0800
committersobomax <sobomax@FreeBSD.org>2003-10-30 04:34:02 +0800
commite351ddb22def08a7703322a92bbd4c37b7ac9df1 (patch)
tree55f273f7a681817538ee27513fd6b1f0ee3757df
parent12a272d4dcfd5b1891ee3b8220c64f55dc0863dc (diff)
downloadfreebsd-ports-graphics-e351ddb22def08a7703322a92bbd4c37b7ac9df1.tar.gz
freebsd-ports-graphics-e351ddb22def08a7703322a92bbd4c37b7ac9df1.tar.zst
freebsd-ports-graphics-e351ddb22def08a7703322a92bbd4c37b7ac9df1.zip
Don't add p5-Digest-MD5 into dependency list if perl 5.8.0 or later is used -
in those versions that module included into the base distribution.
-rw-r--r--security/p5-Authen-Radius/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/p5-Authen-Radius/Makefile b/security/p5-Authen-Radius/Makefile
index e3bcb300728..c7103abfbae 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