pkgsrc/comms/conserver8/options.mk
he c65ebb132e Don't enable the inet6 option on the various BSDs, since their stack
require separate inet6 and inet sockets, and conserver as of 8.2.1
doesn't do that.
Bump PKGREVISION.
2017-02-10 10:35:06 +00:00

38 lines
936 B
Makefile

# $NetBSD: options.mk,v 1.5 2017/02/10 10:35:06 he 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