2008-02-21 16:50:29 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2008/02/21 15:50:29 jlam Exp $
|
2008-02-19 19:45:41 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.couriertcpd
|
2008-02-21 16:50:29 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= courier-gnutls inet6
|
|
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
2008-02-19 19:45:41 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
2008-02-21 16:50:29 +01:00
|
|
|
### Support using GNU TLS as the underlying crypto library; otherwise,
|
|
|
|
### default to using OpenSSL.
|
2008-02-19 19:45:41 +01:00
|
|
|
###
|
2008-02-21 16:50:29 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mcourier-gnutls)
|
2008-02-19 19:45:41 +01:00
|
|
|
. include "../../security/gnutls/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-gnutls
|
2008-02-21 16:50:29 +01:00
|
|
|
.else
|
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
2008-02-19 19:45:41 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### IPv6 support.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --with-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ipv6
|
|
|
|
.endif
|