aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Stream
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-01-26 07:12:56 +0800
committernork <nork@FreeBSD.org>2003-01-26 07:12:56 +0800
commit52ace2d623f4b4989ea39e8b67432474679f99cc (patch)
tree685a27723ce70f56fea6d9f21b71516e0a32e34e /textproc/p5-XML-Stream
parent2bfca774bc819d26f9242dab230004e557bd5a22 (diff)
downloadfreebsd-ports-gnome-52ace2d623f4b4989ea39e8b67432474679f99cc.tar.gz
freebsd-ports-gnome-52ace2d623f4b4989ea39e8b67432474679f99cc.tar.zst
freebsd-ports-gnome-52ace2d623f4b4989ea39e8b67432474679f99cc.zip
XML::Stream needs IO::Select > 1.13.
PR: ports/47395 Submitted by: Erwin Lansing <erwin@lansing.dk> (maintainer)
Diffstat (limited to 'textproc/p5-XML-Stream')
-rw-r--r--textproc/p5-XML-Stream/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/p5-XML-Stream/Makefile b/textproc/p5-XML-Stream/Makefile
index 3f92e34a7e49..415243aa68d7 100644
--- a/textproc/p5-XML-Stream/Makefile
+++ b/textproc/p5-XML-Stream/Makefile
@@ -25,4 +25,11 @@ MAN3= XML::Stream.3 XML::Stream::Hash.3 XML::Stream::Namespace.3 \
XML::Stream::Parser.3 XML::Stream::Parser::DTD.3 \
XML::Stream::Tree.3 XML::Stream::Node.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000 && !exists(${SITE_PERL}/${PERL_ARCH}/IO/Select.pm)
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Select.pm:${PORTSDIR}/devel/p5-IO
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Select.pm:${PORTSDIR}/devel/p5-IO
+.endif
+
+.include <bsd.port.post.mk>