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 /security/p5-Crypt-Simple | |
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 'security/p5-Crypt-Simple')
-rw-r--r-- | security/p5-Crypt-Simple/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/security/p5-Crypt-Simple/Makefile b/security/p5-Crypt-Simple/Makefile index 5ec0647954c1..e409e9dbe8f4 100644 --- a/security/p5-Crypt-Simple/Makefile +++ b/security/p5-Crypt-Simple/Makefile @@ -17,7 +17,6 @@ COMMENT= Perl encrypt stuff simply RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Crypt/Blowfish.pm:${PORTSDIR}/security/p5-Crypt-Blowfish \ ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ - ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw BUILD_DEPENDS= ${RUN_DEPENDS} @@ -27,6 +26,10 @@ MAN3= Crypt::Simple.3 .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + .if ${PERL_LEVEL} < 500903 RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress .endif |