4e91d3f7e9
Based on PR 40278 by Leonardo Taccari. Version 1.4.17: - Remove most W32-specific code from net.c and use the appropriate gnulib modules instead. - Gnulib upate to 2008-12-24. - Unified handling of the Gnome and MacOS keyrings. Both are disabled by default and must be enabled using --with-*-keyring options. - Support for SYSCONFDIR/netrc (as a fallback for ~/.netrc) was added by Jim Pryor. Thanks! - Support for the GNOME Keyring was added by Satoru SATOH. Thanks a lot! - Added a vim syntax file for msmtprc files to scripts/vim. The file was written by Simon Ruderich. Thanks! - Updated the msmtpq/msmtpQ scripts.
48 lines
1 KiB
Makefile
48 lines
1 KiB
Makefile
# $NetBSD: options.mk,v 1.10 2009/01/06 12:08:01 obache Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.msmtp
|
|
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
|
|
PKG_OPTIONS_GROUP.ssl= gnutls ssl
|
|
|
|
PKG_SUPPORTED_OPTIONS= gnome-keyring gsasl idn inet6
|
|
PKG_SUGGESTED_OPTIONS= ssl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### SSL support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-ssl=openssl
|
|
.elif !empty(PKG_OPTIONS:Mgnutls)
|
|
. include "../../security/gnutls/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-ssl=gnutls
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
.endif
|
|
|
|
###
|
|
### GNUsasl support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mgsasl)
|
|
. include "../../security/gsasl/buildlink3.mk"
|
|
.endif
|
|
|
|
###
|
|
### Internationalized Domain Names (IDN) support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Midn)
|
|
. include "../../devel/libidn/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-libidn
|
|
.endif
|
|
|
|
###
|
|
### GNOME keyring support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mgnome-keyring)
|
|
. include "../../security/gnome-keyring/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-gnome-keyring
|
|
USE_TOOLS+= pkg-config
|
|
.endif
|