aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-03-11 19:07:49 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-03-11 19:07:49 +0800
commit0651cf1b8de44fab9fba342cfca91c2f3177bf4a (patch)
tree2d2fd002b46d881ca676c7620650de138d08e124 /net-im
parente1dbe9eed8eb9ac64a1d041b64f314093bfde50f (diff)
downloadfreebsd-ports-gnome-0651cf1b8de44fab9fba342cfca91c2f3177bf4a.tar.gz
freebsd-ports-gnome-0651cf1b8de44fab9fba342cfca91c2f3177bf4a.tar.zst
freebsd-ports-gnome-0651cf1b8de44fab9fba342cfca91c2f3177bf4a.zip
- Fix dependency
Reported by: az Submitted by: sunpoet (myself) Approved by: <ports@c0decafe.net> (maintainer)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/p5-Net-Async-XMPP/Makefile12
-rw-r--r--net-im/p5-Protocol-XMPP/Makefile14
2 files changed, 19 insertions, 7 deletions
diff --git a/net-im/p5-Net-Async-XMPP/Makefile b/net-im/p5-Net-Async-XMPP/Makefile
index 29bb325e3772..779ecf96283e 100644
--- a/net-im/p5-Net-Async-XMPP/Makefile
+++ b/net-im/p5-Net-Async-XMPP/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Net-Async-XMPP
PORTVERSION= 0.002
+PORTREVISION= 1
CATEGORIES= net-im perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:TEAM
@@ -17,8 +18,7 @@ COMMENT= Asynchronous XMPP client and server
RUN_DEPENDS= p5-IO-Async>=0.37:${PORTSDIR}/devel/p5-IO-Async \
p5-IO-Async-SSL>=0.04:${PORTSDIR}/security/p5-IO-Async-SSL \
- p5-Protocol-XMPP>=0.002:${PORTSDIR}/net-im/p5-Protocol-XMPP \
- p5-parent>=0:${PORTSDIR}/devel/p5-parent
+ p5-Protocol-XMPP>=0.002:${PORTSDIR}/net-im/p5-Protocol-XMPP
PERL_CONFIGURE= yes
@@ -27,4 +27,10 @@ MAN3= Net::Async::XMPP.3 \
Net::Async::XMPP::Protocol.3 \
Net::Async::XMPP::Server.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-im/p5-Protocol-XMPP/Makefile b/net-im/p5-Protocol-XMPP/Makefile
index e9a3ee2520c9..dbc546f90dcb 100644
--- a/net-im/p5-Protocol-XMPP/Makefile
+++ b/net-im/p5-Protocol-XMPP/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Protocol-XMPP
PORTVERSION= 0.005
+PORTREVISION= 1
CATEGORIES= net-im perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:TEAM
@@ -16,9 +17,7 @@ MAINTAINER= ports@c0decafe.net
COMMENT= Protocol-level support for XMPP interaction
RUN_DEPENDS= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL \
- p5-Module-Load>=0:${PORTSDIR}/devel/p5-Module-Load \
- p5-XML-LibXML-SAX-ChunkParser>=0.00003:${PORTSDIR}/textproc/p5-XML-LibXML-SAX-ChunkParser \
- p5-parent>=0:${PORTSDIR}/devel/p5-parent
+ p5-XML-LibXML-SAX-ChunkParser>=0.00003:${PORTSDIR}/textproc/p5-XML-LibXML-SAX-ChunkParser
PERL_CONFIGURE= yes
@@ -55,4 +54,11 @@ MAN3= Protocol::XMPP.3 \
Protocol::XMPP::TextElement.3 \
Protocol::XMPP::User.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Module-Load>=0:${PORTSDIR}/devel/p5-Module-Load \
+ p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>