blob: c3d35ee66b3b63dc148b9b861e0f11a4231fa169 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.30 2001/10/26 13:41:27 kleink Exp $
DISTNAME= openldap-2.0.18
SVR4_PKGNAME= oldap
CATEGORIES= databases
MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
EXTRACT_SUFX= .tgz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.OpenLDAP.org/
COMMENT= Lightweight directory access protocol server and client package
# for the moment without threads and thus without slurpd and ldapd
#DEPENDS+= ../../devel/mit-pthreads
CONFLICTS+= ldapsdk-[0-9]*
USE_BUILDLINK_ONLY= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/build/ltconfig
# unfortunately, --enable-phonetic cannot be disabled by runtime configuration
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-dns
CONFIGURE_ARGS+= --enable-cldap
CONFIGURE_ARGS+= --enable-passwd
CONFIGURE_ARGS+= --enable-shell
CONFIGURE_ARGS+= --with-tls=openssl
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --enable-wrappers
.endif
.if ${OPSYS} == "SunOS"
.include "../../databases/db/buildlink.mk"
CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2
LIBS= -ldb2 -lpthread -lrt
.endif
PLIST_SRC= ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS}
post-configure:
${ECHO} "SLAPD_LIBS = " >> ${WRKSRC}/servers/slapd/tools/Makefile
.if defined(KERBEROS)
USE_KERBEROS= yes
CONFIGURE_ARGS+=--with-kerberos
.else
CONFIGURE_ARGS+=--without-kerberos
.endif
.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|