mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
- accept USE_OPENLDAP_VER
This commit is contained in:
parent
aba1060f87
commit
b86cc0a18e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116145
@ -65,9 +65,12 @@ CONFIGURE_ARGS+= --with-dlz-mysql
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
LDAP_SUFFIX= +ldap
|
||||
LDAP_PORT?= net/openldap21-client
|
||||
.if defined(LDAP_PORT)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
|
||||
.else
|
||||
USE_OPENLDAP_VER?= 21
|
||||
.endif
|
||||
CONFIGURE_ARGS+= --with-dlz-ldap
|
||||
.endif
|
||||
|
||||
|
@ -33,7 +33,6 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \
|
||||
SENDMAIL= ${PREFIX}/sbin/sendmail
|
||||
BASEMAIL= /usr/libexec/sendmail/sendmail
|
||||
PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==}
|
||||
LDAP_PORT?= net/openldap21-client
|
||||
PKGMESSAGE= ${WRKSRC}/pkg-message
|
||||
|
||||
# Options to define Features:
|
||||
@ -66,8 +65,13 @@ CONFLICTS+= sendmail+tls-8.* \
|
||||
sendmail+sasl1-8.* \
|
||||
sendmail+sasl2-8.*
|
||||
CONFLICTS+= sendmail-sasl-8.* sendmail-sasl2-8.* sendmail-tls-8.*
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
|
||||
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
|
||||
.if defined(LDAP_PORT)
|
||||
OPENLDAP_LIB?= libldap.so.2
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
|
||||
.else
|
||||
USE_OPENLDAP_VER?= 21
|
||||
.endif
|
||||
.else
|
||||
CONFLICTS+= sendmail*+ldap*-8.*
|
||||
.endif
|
||||
|
@ -31,7 +31,6 @@ MAN1= mailq.1 newaliases.1 vacation.1
|
||||
MAN5= aliases.5
|
||||
MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \
|
||||
mail.local.8 rmail.8
|
||||
LDAP_PORT?= net/openldap21-client
|
||||
|
||||
# Options to define Features:
|
||||
# SENDMAIL_WITHOUT_IPV6=yes
|
||||
@ -51,8 +50,13 @@ CONFLICTS+= sendmail+tls-8.* \
|
||||
sendmail+sfio+sasl-8.* \
|
||||
sendmail+sasl-8.*
|
||||
CONFLICTS+= sendmail-sasl-8.* sendmail-tls-8.*
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
|
||||
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
|
||||
.if defined(LDAP_PORT)
|
||||
OPENLDAP_LIB?= libldap.so.2
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
|
||||
.else
|
||||
USE_OPENLDAP_VER?= 21
|
||||
.endif
|
||||
.endif
|
||||
.if defined(SENDMAIL_WITH_SASL)
|
||||
SASL_SUFFIX?= +sasl
|
||||
|
@ -39,7 +39,6 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \
|
||||
SENDMAIL= ${PREFIX}/sbin/sendmail
|
||||
BASEMAIL= /usr/libexec/sendmail/sendmail
|
||||
PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==}
|
||||
LDAP_PORT?= net/openldap21-client
|
||||
PKGMESSAGE= ${WRKSRC}/pkg-message
|
||||
|
||||
# Options to define Features:
|
||||
@ -73,8 +72,13 @@ CONFLICTS+= sendmail+tls-8.* \
|
||||
sendmail+sasl1-8.* \
|
||||
sendmail+sasl2-8.*
|
||||
CONFLICTS+= sendmail-sasl-8.* sendmail-sasl2-8.* sendmail-tls-8.*
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
|
||||
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
|
||||
.if defined(LDAP_PORT)
|
||||
OPENLDAP_LIB?= libldap.so.2
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
|
||||
.else
|
||||
USE_OPENLDAP_VER?= 21
|
||||
.endif
|
||||
.else
|
||||
CONFLICTS+= sendmail*+ldap*-8.*
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user