Date: Sun, 20 Jan 2002 16:37:52 +0100 (CET) From: Oliver Lehmann <lehmann@ans-netz.de> To: FreeBSD-gnats-submit@freebsd.org Cc: Oliver Lehmann <lehmann@ans-netz.de> Subject: ports/34090: update-port mail/sylpheed (enable LDAP) Message-ID: <200201201537.g0KFbqV18541@phobos.raisdorf.net>
next in thread | raw e-mail | index | archive | help
>Number: 34090 >Category: ports >Synopsis: update-port mail/sylpheed (enable LDAP) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jan 20 08:00:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Oliver Lehmann >Release: FreeBSD 4.5-RC i386 >Organization: >Environment: System: FreeBSD sina.sesamestreet.net 4.5-RC FreeBSD 4.5-RC #0: Fri Jan 18 00:15:28 CET 2002 olivleh1@bert.sesamestreet.net:/usr/obj/i386/usr/src/sys/SINA i386 >Description: enable LDAP support in sylpheed 0.7.0 (thanks to SASAKI Katuhiro) >How-To-Repeat: >Fix: diff -ruN sylpheed.old/Makefile /usr/ports/mail/sylpheed/Makefile --- sylpheed.old/Makefile Sun Jan 20 16:47:00 2002 +++ /usr/ports/mail/sylpheed/Makefile Sun Jan 20 16:47:58 2002 @@ -7,6 +7,7 @@ PORTNAME= sylpheed PORTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= http://sylpheed.good-day.net/sylpheed/ @@ -55,6 +56,12 @@ .else CONFIGURE_ARGS+= --disable-jpilot .endif +.if defined(WITH_LDAP) +LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 +CONFIGURE_ARGS+=--enable-ldap +.else +CONFIGURE_ARGS+=--disable-ldap +.endif .if !defined(WITHOUT_SSL) USE_OPENSSL= yes CONFIGURE_ARGS+=--enable-ssl @@ -72,9 +79,14 @@ @${ECHO} " WITH_JCONV=yes Enable Japanese charset conversion" @${ECHO} " library libjconv." @${ECHO} " WITH_JPILOT=yes Enable JPilot support." + @${ECHO} " WITH_LDAP=yes Enable LDAP support." @${ECHO} "" @${ECHO} " WITHOUT_SSL=yes Disable OpenSSL support." @${ECHO} "" + +post-patch: + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g; \ + s|-lresolv||g' ${WRKSRC}/configure pre-build: ${LN} -sf ${LOCALBASE}/bin/${LIBTOOL} ${WRKSRC}/libtool >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?200201201537.g0KFbqV18541>