mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Add knob to enable LDAP support, no PORTREVISION bump required.
PR: 34090 Submitted by: maintainer
This commit is contained in:
parent
56067c5970
commit
4fb04b2ad9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53434
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user