aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Amazon
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-09-22 00:08:11 +0800
committermm <mm@FreeBSD.org>2010-09-22 00:08:11 +0800
commit66250384aac316bb7c7e78e17a9f60ee4eef0d73 (patch)
treeac1208411d08a7a297bc4f544163f0a43e756b59 /net/p5-Net-Amazon
parent48de0cba3d21dae83e5b1fed09e41e79380ef9ec (diff)
downloadfreebsd-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-Net-Amazon')
-rw-r--r--net/p5-Net-Amazon/Makefile11
1 files changed, 7 insertions, 4 deletions
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>