Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 16:20:43 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32838: Add LDAP support to mail/evolution
Message-ID:  <200112142120.fBELKha86058@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

>Number:         32838
>Category:       ports
>Synopsis:       Add LDAP support to mail/evolution
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 14 13:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
MarcusCom, Inc.
>Environment:
System: FreeBSD shumai.marcuscom.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Dec 8 02:01:11 EST 2001 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386


	
>Description:
	Evolution has the ability to work with LDAP backends.  It really wants
OpenLDAP 2.  These patches add LDAP functionality to Evolution provided the
port is built with the -DWITH_LDAP define.  Bump PORTREVISION, too.
>How-To-Repeat:
	
>Fix:

--- Makefile.orig	Fri Dec 14 16:19:05 2001
+++ Makefile	Fri Dec 14 16:20:17 2001
@@ -7,7 +7,7 @@
 
 PORTNAME=	evolution
 PORTVERSION=	1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	mail gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	unstable/sources/evolution
@@ -16,8 +16,9 @@
 
 BUILD_DEPENDS=	${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
 LIB_DEPENDS=	bonobo_conf.0:${PORTSDIR}/devel/bonobo-conf
-#ldap.1:${PORTSDIR}/net/openldap <- avoid extra dependency until
-#						   it actually works
+.if defined(WITH_LDAP)
+LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap2
+.endif
 RUN_DEPENDS=	${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
 
 #BROKEN=		"Out of sync with latest gal"
@@ -33,6 +34,9 @@
 		--with-openssl-includes=${OPENSSLBASE}/include \
 		--with-openssl-libs=${OPENSSLBASE}/lib \
 		--with-pisock=${LOCALBASE}/pilot --enable-pilot-conduits=yes
+.if defined(WITH_LDAP)
+CONFIGURE_ARGS+=	--with-openldap=/usr/local
+.endif
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib"
 

	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112142120.fBELKha86058>