diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-01-21 05:03:38 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-01-21 05:03:38 +0000 |
commit | 4fb04b2ad94a5177f24bbf434a826d644d934d19 (patch) | |
tree | d42441b33b1a9f088dfc08eb1ddc2f6d69aefa5e /mail/sylpheed3 | |
parent | 56067c5970794bf416c04b70c1cbc3c3e8c29278 (diff) | |
download | ports-4fb04b2ad94a5177f24bbf434a826d644d934d19.tar.gz ports-4fb04b2ad94a5177f24bbf434a826d644d934d19.zip |
Notes
Diffstat (limited to 'mail/sylpheed3')
-rw-r--r-- | mail/sylpheed3/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile index b8f29d229792..e4fa03742d7b 100644 --- a/mail/sylpheed3/Makefile +++ b/mail/sylpheed3/Makefile @@ -55,6 +55,12 @@ CONFIGURE_ARGS+=--enable-jpilot .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,10 +78,15 @@ pre-everything:: @${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:S/"//g}|g; \ + s|-lresolv||g' ${WRKSRC}/configure + pre-build: ${LN} -sf ${LOCALBASE}/bin/${LIBTOOL} ${WRKSRC}/libtool |