summaryrefslogtreecommitdiff
path: root/mail/sendmail812
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-14 17:05:46 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-14 17:05:46 +0000
commit493929444edeecbcefb6d3694d917196775c9335 (patch)
treeeca26fb3b810a0ccb7ce3c38e17fca59cb79dc08 /mail/sendmail812
parentRoll forward over the last revision's backout. (diff)
- New option LDAP_PORT
- Fix LIB_DEPENDS to catch rename of openldap20 to openldap20-client
Notes
Notes: svn path=/head/; revision=86944
Diffstat (limited to 'mail/sendmail812')
-rw-r--r--mail/sendmail812/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index 7739087b3e01..cd209423f72c 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -27,6 +27,7 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \
mail.local.8 rmail.8 editmap.8
SENDMAIL= ${PREFIX}/sbin/sendmail
PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==}
+LDAP_PORT= net/openldap20-client
# Options to define Features:
# SENDMAIL_WITHOUT_IPV6=yes
@@ -48,8 +49,8 @@ SENDMAIL_WITH_TLS=yes
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
+LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl