summaryrefslogtreecommitdiff
path: root/databases/openldap/Makefile
blob: b76402008062918f75b916d0222ec9efb9a30cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.11 1999/09/10 10:41:39 hwr Exp $
#

DISTNAME=	openldap-1.2.7
PKGNAME=	openldap-1.2.7p1
WRKSRC=		${WRKDIR}/ldap
CATEGORIES=	databases
MASTER_SITES=	ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
EXTRACT_SUFX=	.tgz

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.OpenLDAP.org/

# for the moment without threads and thus without slurpd and ldapd
#DEPENDS+=	../../devel/mit-pthreads

CONFLICTS+=	ldapsdk*

USE_LIBTOOL=	yes

# unfortunately, --enable-phonetic cannot be disabled by runtime configuration
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--enable-dns --enable-cldap \
		--enable-wrappers --enable-passwd --enable-shell

BUILD_DEFS+=	USE_KERBEROS4

.include "../../mk/bsd.prefs.mk"

.if !defined(USE_KERBEROS4)
CONFIGURE_ARGS+=--without-kerberos
.else
RESTRICTED=	uses Kerberos encryption code
.endif

.include "../../mk/bsd.pkg.mk"