aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Stream
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-12-30 01:03:56 +0800
committererwin <erwin@FreeBSD.org>2003-12-30 01:03:56 +0800
commite580d08c7189e5f69d7e4113416f35bcee090ecd (patch)
tree5ba02a25b59d41310c4372f731e779a777747ba1 /textproc/p5-XML-Stream
parentf854de8bd2f66f0c4590e181a5a33953ba8b9f81 (diff)
downloadfreebsd-ports-graphics-e580d08c7189e5f69d7e4113416f35bcee090ecd.tar.gz
freebsd-ports-graphics-e580d08c7189e5f69d7e4113416f35bcee090ecd.tar.zst
freebsd-ports-graphics-e580d08c7189e5f69d7e4113416f35bcee090ecd.zip
Simplify and fix detection of conditional dependency on p5-IO
Submitted by: "Kostik I. Belousov" <kostya@tessart.kiev.ua>
Diffstat (limited to 'textproc/p5-XML-Stream')
-rw-r--r--textproc/p5-XML-Stream/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/p5-XML-Stream/Makefile b/textproc/p5-XML-Stream/Makefile
index dbf3ab4c21b..b3d5e9021fa 100644
--- a/textproc/p5-XML-Stream/Makefile
+++ b/textproc/p5-XML-Stream/Makefile
@@ -27,7 +27,7 @@ MAN3= XML::Stream.3 XML::Stream::Hash.3 XML::Stream::Namespace.3 \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000 && !exists(${SITE_PERL}/${PERL_ARCH}/IO/Select.pm)
+.if ${PERL_LEVEL} < 500600
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