aboutsummaryrefslogtreecommitdiff
path: root/net-im/p5-Net-XMPP
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/p5-Net-XMPP')
-rw-r--r--net-im/p5-Net-XMPP/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/net-im/p5-Net-XMPP/Makefile b/net-im/p5-Net-XMPP/Makefile
index 8a482f28250d..c0bd599cb6c2 100644
--- a/net-im/p5-Net-XMPP/Makefile
+++ b/net-im/p5-Net-XMPP/Makefile
@@ -41,4 +41,14 @@ MAN3= Net::XMPP.3 \
Net::XMPP::Roster.3 \
Net::XMPP::Stanza.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.92:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.if ${PERL_LEVEL} < 501200
+BUILD_DEPENDS+= p5-Module-Build>=0.3603:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>