aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-01-25 23:12:56 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-01-25 23:12:56 +0000
commit37b04775b0b244c92b3fcdbe84750bee5ef07524 (patch)
treed79eb8b65dfd20c541e45e28935b0dcf89dfe231
parente605a333e0d5d78738b8cbe80e45b51368cc691c (diff)
downloadports-37b04775b0b244c92b3fcdbe84750bee5ef07524.tar.gz
ports-37b04775b0b244c92b3fcdbe84750bee5ef07524.zip
Notes
-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>