aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Stream/Makefile
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-12-29 17:03:56 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-12-29 17:03:56 +0000
commitcacf70f0963cabebe12d5008bd413d64f505605e (patch)
tree63dcd60fc5545419b3f08f381a99ddc31cdd8b0e /textproc/p5-XML-Stream/Makefile
parent49c40d2c4a70df7993be2dbc2641d3e872260405 (diff)
downloadports-cacf70f0963cabebe12d5008bd413d64f505605e.tar.gz
ports-cacf70f0963cabebe12d5008bd413d64f505605e.zip
Simplify and fix detection of conditional dependency on p5-IO
Submitted by: "Kostik I. Belousov" <kostya@tessart.kiev.ua>
Notes
Notes: svn path=/head/; revision=96899
Diffstat (limited to 'textproc/p5-XML-Stream/Makefile')
-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 dbf3ab4c21b8..b3d5e9021faa 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