mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +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:
parent
49c40d2c4a
commit
cacf70f096
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96899
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user