From cacf70f0963cabebe12d5008bd413d64f505605e Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Mon, 29 Dec 2003 17:03:56 +0000 Subject: [PATCH] Simplify and fix detection of conditional dependency on p5-IO Submitted by: "Kostik I. Belousov" --- textproc/p5-XML-Stream/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -.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