diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
commit | 17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch) | |
tree | e856fa025c5b15bbef21f621e347c51780662a47 /net/radiator/Makefile | |
parent | b4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff) | |
download | ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.tar.gz ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.zip |
Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
Notes
Notes:
svn path=/head/; revision=261560
Diffstat (limited to 'net/radiator/Makefile')
-rw-r--r-- | net/radiator/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/net/radiator/Makefile b/net/radiator/Makefile index 37951894127e..7ee0c058bbae 100644 --- a/net/radiator/Makefile +++ b/net/radiator/Makefile @@ -7,6 +7,7 @@ PORTNAME= Radiator PORTVERSION= 4.7 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= # fetch manually EXTRACT_SUFX= .tgz @@ -17,14 +18,17 @@ COMMENT= Radiator Radius Server by Open System Consultants OPTIONS= MYSQL "MySQL Support" off -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes RESTRICTED= "Commercial software" .include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +BUILD_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}) IGNORE= will not be automatically fetched due to licensing\ restrictions. You MUST manually fetch the UNIX version after\ |