aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-POE
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2004-02-24 19:42:47 +0800
committerskv <skv@FreeBSD.org>2004-02-24 19:42:47 +0800
commit5265f4720f6a53dc24d865b6e80c3d65b4e33319 (patch)
treec28e885d818b0540b03e05a97c5eb3b9170e90f5 /devel/p5-POE
parent0ef6cbe2f3f163107989bf288af7b76061445bbc (diff)
downloadfreebsd-ports-gnome-5265f4720f6a53dc24d865b6e80c3d65b4e33319.tar.gz
freebsd-ports-gnome-5265f4720f6a53dc24d865b6e80c3d65b4e33319.tar.zst
freebsd-ports-gnome-5265f4720f6a53dc24d865b6e80c3d65b4e33319.zip
Add missing dependency (Test::More) for perl < 5.7.2
Pointed by: kris, erwin
Diffstat (limited to 'devel/p5-POE')
-rw-r--r--devel/p5-POE/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/p5-POE/Makefile b/devel/p5-POE/Makefile
index dccea6b711ba..23751b029e91 100644
--- a/devel/p5-POE/Makefile
+++ b/devel/p5-POE/Makefile
@@ -26,8 +26,6 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS= --default
-IS_INTERACTIVE= yes
-
MAN3= POE.3 POE::API::ResLoader.3 POE::Component.3 \
POE::Component::Client::TCP.3 POE::Component::Server::TCP.3 \
POE::Driver.3 POE::Driver::SysRW.3 POE::Filter.3 \
@@ -57,4 +55,10 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/samples/* ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500702
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>