diff options
Diffstat (limited to 'mail/postfix-current')
-rw-r--r-- | mail/postfix-current/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index 89139c37c7b4..8a49f9451e23 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -196,6 +196,9 @@ POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -L${LOCALBASE}/pgsql/lib -lpq -lcrypt .if defined(WITH_OPENLDAP) USE_OPENLDAP=YES +.if defined(WITH_OPENLDAP_VER) +WANT_OPENLDAP_VER=${WITH_OPENLDAP_VER} +.endif POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lldap -llber .endif |