aboutsummaryrefslogtreecommitdiff
path: root/mail/sendmail811
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-08-13 19:38:58 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-08-13 19:38:58 +0000
commitb86cc0a18e935ae7c13d1e589547a4d205f4f710 (patch)
tree7dc072b9c377ad1c07686d17bb76f805e3c5bc5c /mail/sendmail811
parentaba1060f87912e3ab00ee65cdbdcd6ff23273404 (diff)
downloadports-b86cc0a18e935ae7c13d1e589547a4d205f4f710.tar.gz
ports-b86cc0a18e935ae7c13d1e589547a4d205f4f710.zip
- accept USE_OPENLDAP_VER
Notes
Notes: svn path=/head/; revision=116145
Diffstat (limited to 'mail/sendmail811')
-rw-r--r--mail/sendmail811/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index 2a468319bb5d..03182c3860b7 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/Makefile
@@ -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