diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-04-04 11:51:19 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-04-04 11:51:19 +0000 |
commit | 30f4b91efc337e8bfd6271df5f1c67654fb334e5 (patch) | |
tree | 5f14837cac362cd1b599d57653c631872f0b39c6 /mail/exim-devel | |
parent | bc4cf67657d724edd578c0cfa0557f21827de244 (diff) | |
download | FreeBSD-ports-30f4b91efc337e8bfd6271df5f1c67654fb334e5.zip FreeBSD-ports-30f4b91efc337e8bfd6271df5f1c67654fb334e5.tar.gz |
Fix mysql lookups and add experimental glue for ldap lookups.
Reported by: Peter Lockhart <peter@key.co.za>
Diffstat (limited to 'mail/exim-devel')
-rw-r--r-- | mail/exim-devel/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/mail/exim-devel/Makefile b/mail/exim-devel/Makefile index 0950523..c98a466 100644 --- a/mail/exim-devel/Makefile +++ b/mail/exim-devel/Makefile @@ -47,9 +47,24 @@ SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' \ SEDLIST+= -e 's/^EXIM_MONITOR/\#EXIM_MONITOR/' .endif +# BROKEN: the USE_LDAP stuff will not work until the openldap port +# builds a shared liblber. +.if defined(USE_LDAP) && ${USE_LDAP} == YES +LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap +SEDLIST+= -e 's,XX_LDAP_LIBS_XX,-L${PREFIX}/lib -llber -lldap,' \ + -e 's,XX_LDAP_INCLUDE_XX,-I${PREFIX}/include,' \ + -e 's,XX_LDAP_TYPE_XX,${LDAP_LIB_TYPE},' \ + -e 's,^\# LOOKUP_LDAP,LOOKUP_LDAP,' +.else +SEDLIST+= -e 's,XX_LDAP_[^ ]*_XX,,' \ + -e 's,^LDAP_LIB_TYPE,\#LDAP_LIB_TYPE,' +.endif + .if defined(USE_MYSQL) && ${USE_MYSQL} == YES +LIB_DEPENDS+= mysqlclient.6:${PORTSDIR}/databases/mysql322-client SEDLIST+= -e 's,XX_MYSQL_LIBS_XX,-L${PREFIX}/lib/mysql -lmysqlclient,' \ - -e 's,XX_MYSQL_INCLUDE_XX,-I${PREFIX}/include/mysql,' + -e 's,XX_MYSQL_INCLUDE_XX,-I${PREFIX}/include/mysql,' \ + -e 's,^\# LOOKUP_MYSQL,LOOKUP_MYSQL,' .else SEDLIST+= -e 's,XX_MYSQL_[^ ]*_XX,,' .endif |