diff options
-rw-r--r-- | mail/sendmail-old/Makefile | 5 | ||||
-rw-r--r-- | mail/sendmail811/Makefile | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile index 90b3b62b1e82..9b40660c6737 100644 --- a/mail/sendmail-old/Makefile +++ b/mail/sendmail-old/Makefile @@ -26,6 +26,7 @@ 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/openldap20-client # Options to define Features: # SENDMAIL_WITHOUT_IPV6=yes @@ -37,8 +38,8 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ .if defined(SENDMAIL_WITH_LDAP) PKGNAMESUFFIX?= -ldap -LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client -LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client +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 diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile index 90b3b62b1e82..9b40660c6737 100644 --- a/mail/sendmail811/Makefile +++ b/mail/sendmail811/Makefile @@ -26,6 +26,7 @@ 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/openldap20-client # Options to define Features: # SENDMAIL_WITHOUT_IPV6=yes @@ -37,8 +38,8 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ .if defined(SENDMAIL_WITH_LDAP) PKGNAMESUFFIX?= -ldap -LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client -LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client +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 |