File:
[cvs.NetBSD.org] /
pkgsrc /
mail /
fetchmail /
options.mk
Revision
1.19:
download - view:
text,
annotated -
select for diffs
Sat Nov 2 16:25:21 2019 UTC (5 years, 1 month ago) by
rillig
Branches:
MAIN
CVS tags:
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
HEAD
mail: align variable assignments
pkglint -Wall -F --only aligned -r
No manual corrections.
# $NetBSD: options.mk,v 1.19 2019/11/02 16:25:21 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fetchmail
PKG_SUPPORTED_OPTIONS= kerberos4 kerberos gssapi ssl
PKG_OPTIONS_OPTIONAL_GROUPS= socks
PKG_OPTIONS_GROUP.socks= socks4 dante
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
###
### Authentication via GSSAPI (currently only over Kerberos V) support.
###
.if !empty(PKG_OPTIONS:Mgssapi)
CONFIGURE_ARGS+= --with-gssapi=${KRB5BASE:Q}
.else
CONFIGURE_ARGS+= --with-gssapi=no
.endif
###
### KPOP (POP3 + Kerberos IV) support.
###
.if !empty(PKG_OPTIONS:Mkerberos4)
PKG_USE_KERBEROS= yes
CONFIGURE_ARGS+= --with-kerberos=yes
. if empty(MACHINE_PLATFORM:MNetBSD-1.[0-4]*-i386)
REPLACE_KERBEROS_LIBS= yes
. endif
.else
CONFIGURE_ARGS+= --with-kerberos=no
.endif
###
### Kerberos V support.
###
.if !empty(PKG_OPTIONS:Mkerberos) || !empty(PKG_OPTIONS:Mgssapi)
. include "../../mk/krb5.buildlink3.mk"
PKG_USE_KERBEROS= yes
CONFIGURE_ARGS+= --with-kerberos5=${KRB5BASE:Q}
.else
CONFIGURE_ARGS+= --with-kerberos5=no
.endif
###
### Support POP3 and IMAP over SSL.
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-ssl=${SSLBASE:Q}
.else
CONFIGURE_ARGS+= --without-ssl
.endif
###
### Include SOCKS firewall support
###
.if !empty(PKG_OPTIONS:Msocks4)
.include "../../net/socks4/buildlink3.mk"
CONFIGURE_ARGS+= --with-socks=${BUILDLINK_PREFIX.socks4}
.endif
.if !empty(PKG_OPTIONS:Mdante)
.include "../../net/dante/buildlink3.mk"
CPPFLAGS+= -I${BUILDLINK_PREFIX.dante}/include/dante
CONFIGURE_ARGS+= --with-socks=${BUILDLINK_PREFIX.dante}
.endif
CVSweb <webmaster@jp.NetBSD.org>