summaryrefslogtreecommitdiffstats
path: root/mail/sendmail812
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-08-13 19:38:58 +0000
committerdinoex <dinoex@FreeBSD.org>2004-08-13 19:38:58 +0000
commit62985f6339f697f1792a9535a65e8ef6ed58cf84 (patch)
tree9290cbe6f4487389083929aacff7d09468c06986 /mail/sendmail812
parent2f68980837f17763ad8eb9b8b7af7024799dd774 (diff)
downloadFreeBSD-ports-62985f6339f697f1792a9535a65e8ef6ed58cf84.zip
FreeBSD-ports-62985f6339f697f1792a9535a65e8ef6ed58cf84.tar.gz
- accept USE_OPENLDAP_VER
Diffstat (limited to 'mail/sendmail812')
-rw-r--r--mail/sendmail812/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index 3e7a5a0..fd8e220 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -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
OpenPOWER on IntegriCloud