1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Simplify and fix detection of conditional dependency on p5-IO

Submitted by:	"Kostik I. Belousov" <kostya@tessart.kiev.ua>
This commit is contained in:
Erwin Lansing 2003-12-29 17:03:56 +00:00
parent 49c40d2c4a
commit cacf70f096
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96899

View File

@ -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