2019-11-02 17:25:17 +01:00
|
|
|
# $NetBSD: options.mk,v 1.3 2019/11/02 16:25:27 rillig Exp $
|
2009-09-16 01:27:05 +02:00
|
|
|
#
|
|
|
|
|
2019-11-02 17:25:17 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.alpine
|
|
|
|
PKG_SUPPORTED_OPTIONS= ldap kerberos pinepwd
|
|
|
|
PKG_SUGGESTED_OPTIONS= pinepwd
|
2009-09-16 01:27:05 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2012-10-10 21:45:49 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mkerberos)
|
|
|
|
CONFIGURE_ARGS+= --with-krb5
|
|
|
|
.include "../../mk/krb5.buildlink3.mk"
|
|
|
|
MAKE_ENV+= KRB5_TYPE=${KRB5_TYPE}
|
|
|
|
MAKE_FLAGS+= EXTRAAUTHENTICATORS=gss
|
|
|
|
EXTRASPECIALS+= GSSDIR=${KRB5BASE}
|
|
|
|
CFLAGS.heimdal= -DHEIMDAL_KRB5
|
|
|
|
CFLAGS+= ${CFLAGS.${KRB5_TYPE}}
|
|
|
|
MAKE_FLAGS+= EXTRALDFLAGS=${LDFLAGS:Q}
|
|
|
|
MAKE_FLAGS+= EXTRACFLAGS=${CFLAGS:Q}
|
|
|
|
MAKE_FLAGS+= EXTRASPECIALS=${EXTRASPECIALS:Q}
|
|
|
|
.endif
|
2009-09-16 01:27:05 +02:00
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
|
|
|
CONFIGURE_ARGS+= --with-ldap
|
|
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mpinepwd)
|
2019-11-02 17:25:17 +01:00
|
|
|
CONFIGURE_ARGS+= --with-passfile=.pinepwd
|
2009-09-16 01:27:05 +02:00
|
|
|
.endif
|