summaryrefslogtreecommitdiffstats
path: root/mail/exim
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-03-13 08:03:50 +0000
committerasami <asami@FreeBSD.org>2000-03-13 08:03:50 +0000
commitdd21a1d77b1c9a6a47f4b273e5b52c6ba3b470bb (patch)
treeb99addf557d91cbd8faa6beb02c242dfca217582 /mail/exim
parentb9cc390db26b5bfeb6552c60a77ae19dace29860 (diff)
downloadFreeBSD-ports-dd21a1d77b1c9a6a47f4b273e5b52c6ba3b470bb.zip
FreeBSD-ports-dd21a1d77b1c9a6a47f4b273e5b52c6ba3b470bb.tar.gz
Fix ldap handling.
Submitted by: sheldonh
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile21
-rw-r--r--mail/exim/files/Makefile6
2 files changed, 6 insertions, 21 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 0faf3ed..0950523 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -23,17 +23,12 @@ USE_PERL5= YES
MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
-# Uncomment the USE_LDAP, USE_MYSQL and USE_PAM definitions to link against
-# libldap, libmysqlclient and libpam respectively. The libpam linkage is
+# Uncomment the USE_MYSQL and USE_PAM definitions to link against
+# libmysqlclient and libpam respectively. The libpam linkage is
# required for SMTP AUTH support.
-#USE_LDAP= YES
#USE_MYSQL= YES
#USE_PAM= YES
-# If USE_LDAP==YES then LDAP_LIB_TYPE should be one of UMICHIGAN, NETSCAPE or
-# SOLARIS7:
-LDAP_LIB_TYPE= UMICHIGAN
-
# If USE_PAM==YES then one or more of USE_CRAM_MD5 and USE_PLAINTEXT
# must be left uncommented.
PAM_CRAM_MD5= YES
@@ -52,15 +47,6 @@ SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' \
SEDLIST+= -e 's/^EXIM_MONITOR/\#EXIM_MONITOR/'
.endif
-.if defined(USE_LDAP) && ${USE_LDAP} == YES
-SEDLIST+= -e 's,XX_LDAP_LIBS_XX,-L${PREFIX}/lib -lber -lldap,' \
- -e 's,XX_LDAP_INCLUDE_XX,-I${PREFIX}/include,' \
- -e 's,XX_LDAP_TYPE_XX,${LDAP_LIB_TYPE},'
-.else
-SEDLIST+= -e 's,XX_LDAP_[^ ]*_XX,,' \
- -e 's,^LDAP_LIB_TYPE,\#LDAP_LIB_TYPE,'
-.endif
-
.if defined(USE_MYSQL) && ${USE_MYSQL} == YES
SEDLIST+= -e 's,XX_MYSQL_LIBS_XX,-L${PREFIX}/lib/mysql -lmysqlclient,' \
-e 's,XX_MYSQL_INCLUDE_XX,-I${PREFIX}/include/mysql,'
@@ -68,8 +54,7 @@ SEDLIST+= -e 's,XX_MYSQL_LIBS_XX,-L${PREFIX}/lib/mysql -lmysqlclient,' \
SEDLIST+= -e 's,XX_MYSQL_[^ ]*_XX,,'
.endif
-.if ( !defined(USE_LDAP) || ${USE_LDAP} != YES ) && \
- ( !defined(USE_MYSQL) || ${USE_MYSQL} != YES )
+.if ( !defined(USE_MYSQL) || ${USE_MYSQL} != YES )
SEDLIST+= -e 's/^LOOKUP_LIBS/\#LOOKUP_LIBS/' \
-e 's/^LOOKUP_INCLUDE/\#LOOKUP_INCLUDE/'
.endif
diff --git a/mail/exim/files/Makefile b/mail/exim/files/Makefile
index 9bdafa2..cfb2d15 100644
--- a/mail/exim/files/Makefile
+++ b/mail/exim/files/Makefile
@@ -321,8 +321,8 @@ LOOKUP_LSEARCH=yes
# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include
# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient
-LOOKUP_INCLUDE=XX_LDAP_INCLUDE_XX XX_MYSQL_INCLUDE_XX
-LOOKUP_LIBS=XX_LDAP_LIBS_XX XX_MYSQL_LIBS_XX
+LOOKUP_INCLUDE=XX_MYSQL_INCLUDE_XX
+LOOKUP_LIBS=XX_MYSQL_LIBS_XX
# If you have set LDAP=yes, you should set LDAP_LIB_TYPE to indicate which LDAP
# library you have. Unfortunately, though most of their functions are the
@@ -334,7 +334,7 @@ LOOKUP_LIBS=XX_LDAP_LIBS_XX XX_MYSQL_LIBS_XX
# LDAP_LIB_TYPE=UMICHIGAN
# LDAP_LIB_TYPE=NETSCAPE
# LDAP_LIB_TYPE=SOLARIS7
-LDAP_LIB_TYPE=XX_LDAP_TYPE_XX
+#LDAP_LIB_TYPE=XX_LDAP_TYPE_XX
# If you don't set any of these, Exim applies a heuristic to distinguish the
# University of Michigan library, but it cannot distinguish between the other
OpenPOWER on IntegriCloud