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 | |
parent | Bring in a -real- fix for kdesu. Many thanks to Alan Eldridge and (diff) |
Add knob to enable LDAP support, no PORTREVISION bump required.
PR: 34090
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sylpheed/Makefile | 11 | ||||
-rw-r--r-- | mail/sylpheed2-devel/Makefile | 11 | ||||
-rw-r--r-- | mail/sylpheed2/Makefile | 11 | ||||
-rw-r--r-- | mail/sylpheed3/Makefile | 11 |
4 files changed, 44 insertions, 0 deletions
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile index b8f29d229792..e4fa03742d7b 100644 --- a/mail/sylpheed/Makefile +++ b/mail/sylpheed/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 diff --git a/mail/sylpheed2-devel/Makefile b/mail/sylpheed2-devel/Makefile index b8f29d229792..e4fa03742d7b 100644 --- a/mail/sylpheed2-devel/Makefile +++ b/mail/sylpheed2-devel/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 diff --git a/mail/sylpheed2/Makefile b/mail/sylpheed2/Makefile index b8f29d229792..e4fa03742d7b 100644 --- a/mail/sylpheed2/Makefile +++ b/mail/sylpheed2/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 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 |