From 66250384aac316bb7c7e78e17a9f60ee4eef0d73 Mon Sep 17 00:00:00 2001 From: mm Date: Tue, 21 Sep 2010 16:08:11 +0000 Subject: Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703 Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000 --- net/p5-Net-Amazon/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'net/p5-Net-Amazon') diff --git a/net/p5-Net-Amazon/Makefile b/net/p5-Net-Amazon/Makefile index e3c5b6d14db5..382fcce1c74f 100644 --- a/net/p5-Net-Amazon/Makefile +++ b/net/p5-Net-Amazon/Makefile @@ -14,12 +14,11 @@ PKGNAMEPREFIX= p5- MAINTAINER= clsung@FreeBSD.org COMMENT= Framework for accessing amazon.com via SOAP and XML/HTTP -BUILD_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \ +RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \ ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \ - ${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA \ ${SITE_PERL}/Log/Log4perl.pm:${PORTSDIR}/devel/p5-Log-Log4perl -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes @@ -28,7 +27,11 @@ PERL_CONFIGURE= yes .include .if ${PERL_LEVEL} < 500805 -BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes +.endif + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA .endif .include -- cgit