aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-Twitter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Net-Twitter/Makefile')
-rw-r--r--net/p5-Net-Twitter/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/p5-Net-Twitter/Makefile b/net/p5-Net-Twitter/Makefile
index ddca79c8f7f4..6c564df21547 100644
--- a/net/p5-Net-Twitter/Makefile
+++ b/net/p5-Net-Twitter/Makefile
@@ -59,4 +59,10 @@ MAN3= Net::Twitter.3 Net::Twitter::Search.3 Net::Identica.3 \
Net::Twitter::Role::SimulateCursors.3 \
Net::Twitter::Role::WrapError.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
+.endif
+
+.include <bsd.port.post.mk>