eb3c2b436e
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
50 lines
1 KiB
Makefile
50 lines
1 KiB
Makefile
# $NetBSD: options.mk,v 1.13 2019/11/03 11:45:58 rillig Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.wget
|
|
PKG_SUPPORTED_OPTIONS= idn inet6 psl
|
|
PKG_OPTIONS_REQUIRED_GROUPS= ssl
|
|
PKG_OPTIONS_GROUP.ssl= gnutls openssl
|
|
PKG_SUGGESTED_OPTIONS= idn inet6 openssl psl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Support IDN
|
|
###
|
|
.if !empty(PKG_OPTIONS:Midn)
|
|
.include "../../devel/libidn2/buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-iri
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-iri
|
|
.endif
|
|
|
|
###
|
|
### Support IPv6
|
|
###
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
###
|
|
### Support SSL
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mgnutls)
|
|
. include "../../security/gnutls/buildlink3.mk"
|
|
CONFIGURE_ARGS+=--with-ssl=gnutls
|
|
.else
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+=--with-ssl=openssl
|
|
.endif
|
|
|
|
###
|
|
### Support Public Suffix List
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mpsl)
|
|
. include "../../www/libpsl/buildlink3.mk"
|
|
CONFIGURE_ARGS+=--with-libpsl
|
|
.else
|
|
CONFIGURE_ARGS+=--without-libpsl
|
|
.endif
|