summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-10-29 20:34:02 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-10-29 20:34:02 +0000
commitc59cd5b38936f1acea4636501fc368de2d2515e1 (patch)
tree18a43215de8158fa3247e459c73a8e8eb2ae2e5b
parentAdd missed manpage. (diff)
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.
Notes
Notes: svn path=/head/; revision=92587
-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 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