Date: Sun, 20 Jan 2002 22:37:42 +0900 From: SASAKI Katuhiro <sahiro@crest.ocn.ne.jp> To: lehmann@ans-netz.de Cc: ports@FreeBSD.org Subject: About LDAP support in sylpheed. Message-ID: <3c4ac826.6566%sahiro@crest.ocn.ne.jp>
next in thread | raw e-mail | index | archive | help
Hi. Today, I succeeded to build sylpheed with LDAP support enabled. Patch below add optional LDAP support to sylpheed port. In post-patch stage, perl command fixes configure script. This is needed for LDAP support to work. Lehmann, if you have no objection against this, I will send-pr. Please give me your thought. Thank you. diff -urN /usr/ports/mail/sylpheed/Makefile sylpheed/Makefile --- /usr/ports/mail/sylpheed/Makefile Fri Jan 18 19:07:01 2002 +++ sylpheed/Makefile Sun Jan 20 21:23:58 2002 @@ -55,6 +55,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 +78,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 ================================================================ SASAKI Katuhiro mailto: sahiro@crest.ocn.ne.jp ================================================================ 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?3c4ac826.6566%sahiro>