This is the real fix for the openldap problem. Sorry guys.

tested & ok alek@
This commit is contained in:
bernd 2005-11-11 14:53:27 +00:00
parent 2b8faaaa73
commit 3c16c53ccc
2 changed files with 15 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.25 2005/11/11 12:11:41 bernd Exp $
# $OpenBSD: Makefile,v 1.26 2005/11/11 14:53:27 bernd Exp $
COMMENT= "compact IMAP/POP3 server"
DISTNAME= dovecot-1.0.alpha4
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}releases/
@ -25,8 +25,8 @@ FLAVOR?=
.if ${FLAVOR:L:Mldap}
CONFIGURE_ARGS+= --with-ldap
LIB_DEPENDS+= lber,ldap::databases/openldap \
sasl2.2::security/cyrus-sasl2
LIB_DEPENDS+= lber,ldap::databases/openldap
WANTLIB+= sasl2
.endif
.if ${FLAVOR:L:Mmysql}

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.7 2005/10/20 18:28:48 brad Exp $
--- configure.in.orig Thu Oct 20 05:12:19 2005
+++ configure.in Thu Oct 20 14:00:00 2005
$OpenBSD: patch-configure_in,v 1.8 2005/11/11 14:53:27 bernd Exp $
--- configure.in.orig Thu Oct 20 11:12:19 2005
+++ configure.in Fri Nov 11 14:17:19 2005
@@ -12,6 +12,7 @@ AC_PROG_CPP
AC_HEADER_STDC
AC_C_INLINE
@ -9,3 +9,11 @@ $OpenBSD: patch-configure_in,v 1.7 2005/10/20 18:28:48 brad Exp $
AM_ICONV
AC_CHECK_HEADERS(strings.h stdint.h unistd.h dirent.h inttypes.h \
@@ -1193,6 +1194,7 @@ if test $want_bsdauth = yes; then
fi
if test $want_ldap = yes; then
+ LIBS="$LIBS -lsasl2"
AC_CHECK_LIB(ldap, ldap_init, [
AC_CHECK_HEADER(ldap.h, [
AC_CHECK_LIB(ldap, ldap_initialize, [