diff options
author | mm <mm@FreeBSD.org> | 2010-09-22 00:08:11 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-09-22 00:08:11 +0800 |
commit | 66250384aac316bb7c7e78e17a9f60ee4eef0d73 (patch) | |
tree | ac1208411d08a7a297bc4f544163f0a43e756b59 /net/p5-OAuth-Lite | |
parent | 48de0cba3d21dae83e5b1fed09e41e79380ef9ec (diff) | |
download | freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.tar.gz freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.tar.zst freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.zip |
Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
Diffstat (limited to 'net/p5-OAuth-Lite')
-rw-r--r-- | net/p5-OAuth-Lite/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net/p5-OAuth-Lite/Makefile b/net/p5-OAuth-Lite/Makefile index 5fcd1416e7cb..ee483f44f060 100644 --- a/net/p5-OAuth-Lite/Makefile +++ b/net/p5-OAuth-Lite/Makefile @@ -7,6 +7,7 @@ PORTNAME= OAuth-Lite PORTVERSION= 1.27 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= ../../authors/id/L/LY/LYOKATO @@ -21,7 +22,6 @@ RUN_DEPENDS= \ p5-Class-ErrorHandler>=0.01:${PORTSDIR}/devel/p5-Class-ErrorHandler \ p5-Crypt-OpenSSL-RSA>=0.25:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \ p5-Crypt-OpenSSL-Random>=0.04:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random \ - p5-Digest-SHA>=5.45:${PORTSDIR}/security/p5-Digest-SHA \ p5-libwww>0:${PORTSDIR}/www/p5-libwww \ p5-List-MoreUtils>=0.21:${PORTSDIR}/lang/p5-List-MoreUtils \ p5-UNIVERSAL-require>=0.11:${PORTSDIR}/devel/p5-UNIVERSAL-require \ @@ -46,4 +46,10 @@ MAN3= OAuth::Lite.3 \ OAuth::Lite::Token.3 \ OAuth::Lite::Util.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA +.endif + +.include <bsd.port.post.mk> |