1
0
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:
Dirk Meyer 2004-08-13 19:38:58 +00:00
parent aba1060f87
commit b86cc0a18e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116145
4 changed files with 25 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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