2012-09-16 02:51:32 +02:00
|
|
|
# $NetBSD: options.mk,v 1.8 2012/09/16 00:51:32 dholland Exp $
|
2008-02-20 14:18:24 +01:00
|
|
|
|
2007-11-13 19:02:15 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.cone
|
2008-02-20 23:53:49 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= aspell ldap wide-curses
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= tls
|
2008-02-20 23:31:06 +01:00
|
|
|
PKG_OPTIONS_GROUP.tls= gnutls ssl
|
2012-09-16 02:51:32 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= aspell ldap ssl wide-curses
|
2007-11-13 19:02:15 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
# Package-specific option-handling
|
|
|
|
|
|
|
|
###
|
|
|
|
### Aspell spell-check support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Maspell)
|
|
|
|
. include "../../textproc/aspell/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-spellcheck=aspell
|
|
|
|
.endif
|
2007-11-19 20:34:53 +01:00
|
|
|
|
2007-11-19 21:28:57 +01:00
|
|
|
###
|
|
|
|
### FAM (file alteration monitor) support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mfam)
|
|
|
|
. include "../../mk/fam.buildlink3.mk"
|
|
|
|
.endif
|
2008-02-20 23:31:06 +01:00
|
|
|
|
|
|
|
###
|
|
|
|
### GNU TLS support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mgnutls)
|
|
|
|
. include "../../security/gnutls/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-gnutls
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### LDAP addressbook support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
|
|
|
. include "../../databases/openldap-client/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### OpenSSL TLS support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Wide curses display
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mwide-curses)
|
2008-02-27 09:25:17 +01:00
|
|
|
USE_NCURSES= yes # termattrs()
|
2008-02-20 23:31:06 +01:00
|
|
|
. include "../../devel/ncursesw/buildlink3.mk"
|
2008-02-20 23:53:49 +01:00
|
|
|
.else
|
|
|
|
USE_NCURSES= yes # termattrs()
|
|
|
|
. include "../../devel/ncurses/buildlink3.mk"
|
2008-02-20 23:31:06 +01:00
|
|
|
.endif
|