Depend on security/p5-Authen-SASL only if perl >= 5.6
PR: 97115 Submitted by: leeym
This commit is contained in:
parent
1597089fc6
commit
e59fd3d51d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165331
@ -16,8 +16,7 @@ DISTNAME= libnet-${PORTVERSION}
|
||||
MAINTAINER= mat@FreeBSD.org
|
||||
COMMENT= Perl5 modules to access and use network protocols
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL \
|
||||
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
|
||||
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= < /dev/null
|
||||
@ -33,4 +32,11 @@ MAN3= Net::Cmd.3 \
|
||||
Net::Time.3 \
|
||||
Net::libnetFAQ.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Authen-SASL is not available under perl 5.005_03
|
||||
.if ${PERL_LEVEL} >= 500600
|
||||
RUN_DEPENDS+= ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user