2eca3d9f2c
packages. Convert LDAP-based applications to depend on openldap-client, and bump PKGREVISION for those that depend on it by default.
20 lines
618 B
Makefile
20 lines
618 B
Makefile
# $NetBSD: options.mk,v 1.3 2006/05/31 18:22:25 ghen Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.nntpcache
|
|
PKG_SUPPORTED_OPTIONS= nntpcache-pgp
|
|
# compile error:
|
|
# authinfo_ldap.c: In function `ldap_got_pass':
|
|
# authinfo_ldap.c:81: error: dereferencing pointer to incomplete type
|
|
# authinfo_ldap.c:47: warning: unused variable `dom'
|
|
# PKG_SUPPORTED_OPTIONS+= openldap
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mnntpcache-pgp)
|
|
DEPENDS+= pgp-2.*:../../security/pgp2
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mopenldap)
|
|
CONFIGURE_ARGS+= --with-authinfo-ldap
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
.endif
|