aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-08-15 01:05:46 +0800
committerdinoex <dinoex@FreeBSD.org>2003-08-15 01:05:46 +0800
commit031bd22e3307cffe32f4e9a5990ef59e0bcbb5ba (patch)
treec5754fec318eebf4c04194645952d1694cdffb05 /mail/sendmail
parentb2d7eb00c6ecddd9f368eac236bbf7bc4ec0c308 (diff)
downloadfreebsd-ports-gnome-031bd22e3307cffe32f4e9a5990ef59e0bcbb5ba.tar.gz
freebsd-ports-gnome-031bd22e3307cffe32f4e9a5990ef59e0bcbb5ba.tar.zst
freebsd-ports-gnome-031bd22e3307cffe32f4e9a5990ef59e0bcbb5ba.zip
- New option LDAP_PORT
- Fix LIB_DEPENDS to catch rename of openldap20 to openldap20-client
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 7739087b3e01..cd209423f72c 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/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