fc42239139
pkglint -Wall -F --only aligned --only indent -r Manually adjusted the indentation in asterisk15 and asterisk16 to avoid too deep indentation.
38 lines
942 B
Makefile
38 lines
942 B
Makefile
# $NetBSD: options.mk,v 1.6 2019/11/03 12:04:12 rillig Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.conserver8
|
|
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= connectivity
|
|
PKG_OPTIONS_GROUP.connectivity= inet6 uds
|
|
|
|
PKG_SUPPORTED_OPTIONS= pam ssl
|
|
|
|
PKG_SUGGESTED_OPTIONS= ssl
|
|
|
|
# The BSDs require separate inet6 & inet sockets,
|
|
# and conserver8 doesn't have code to do that as of 8.2.1
|
|
.if ${OPSYS} != "NetBSD" && ${OPSYS} != "FreeBSD" && ${OPSYS} != "OpenBSD" && ${OPSYS} != "DragonFly"
|
|
PKG_SUGGESTED_OPTIONS+= inet6
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mpam)
|
|
. include "../../mk/pam.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-pam
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Muds)
|
|
CONFIGURE_ARGS+= --with-uds
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --with-ipv6
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-openssl
|
|
.endif
|