diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-12-29 17:03:56 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-12-29 17:03:56 +0000 |
commit | cacf70f0963cabebe12d5008bd413d64f505605e (patch) | |
tree | 63dcd60fc5545419b3f08f381a99ddc31cdd8b0e | |
parent | Add p5-XML-Atom 0.04, (diff) |
Simplify and fix detection of conditional dependency on p5-IO
Submitted by: "Kostik I. Belousov" <kostya@tessart.kiev.ua>
-rw-r--r-- | textproc/p5-XML-Stream/Makefile | 2 |
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 |