mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Remove SITE_PERL from *_DEPENDS [1]
- Use new OPTIONS framework Submitted by: az@ [1]
This commit is contained in:
parent
5f4a456e71
commit
fe28c145d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298475
1 changed files with 8 additions and 5 deletions
|
@ -23,8 +23,9 @@ INSTALL_TARGET= pure_install
|
|||
|
||||
MAN3= IO::Socket::SSL.3
|
||||
|
||||
OPTIONS= IDN "International Domain Names (IDN) support" off \
|
||||
IPV6 "IPv6 support" off
|
||||
OPTIONS_DEFINE= IDN IPV6
|
||||
IDN_DESC= International Domain Names (IDN) support
|
||||
IPV6_DESC= IPv6 support
|
||||
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
PORTEXAMPLES= *
|
||||
|
@ -33,12 +34,14 @@ post-install:
|
|||
${INSTALL_SCRIPT} ${WRKSRC}/example/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.if defined(WITH_IDN)
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MIDN}
|
||||
RUN_DEPENDS+= p5-Net-LibIDN>=0:${PORTSDIR}/dns/p5-Net-LibIDN
|
||||
.endif
|
||||
|
||||
.if defined(WITH_IPV6)
|
||||
RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6
|
||||
.if ${PORT_OPTIONS:MIPV6}
|
||||
RUN_DEPENDS+= p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
|
||||
.endif
|
||||
|
||||
regression-test:
|
||||
|
|
Loading…
Add table
Reference in a new issue