2017-02-10 11:35:06 +01:00
|
|
|
# $NetBSD: options.mk,v 1.5 2017/02/10 10:35:06 he Exp $
|
2009-06-14 09:52:51 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.conserver8
|
2016-03-13 19:31:11 +01:00
|
|
|
|
2016-06-16 01:02:10 +02:00
|
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= connectivity
|
2016-03-13 19:31:11 +01:00
|
|
|
PKG_OPTIONS_GROUP.connectivity=inet6 uds
|
|
|
|
|
|
|
|
PKG_SUPPORTED_OPTIONS= pam ssl
|
|
|
|
|
2017-02-10 11:35:06 +01:00
|
|
|
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
|
2009-06-14 09:52:51 +02:00
|
|
|
|
|
|
|
.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
|
|
|
|
|
2016-03-13 19:31:11 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --with-ipv6
|
|
|
|
.endif
|
|
|
|
|
2009-06-14 09:52:51 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-openssl
|
|
|
|
.endif
|