summaryrefslogtreecommitdiff
path: root/mail/postfix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix/Makefile')
-rw-r--r--mail/postfix/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 0f947a9e5bb4..2f0fd1b9bbd1 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -262,8 +262,10 @@ POSTFIX_CCARGS+= -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"
.endif
.if ${PORT_OPTIONS:MSASLKRB5}
-POSTFIX_AUXLIBS+= -lkrb5 -lhx509 -lcrypto -lcrypt -lcom_err -lasn1 \
- -lroken
+POSTFIX_AUXLIBS+= -lkrb5 -lcrypto -lcrypt -lcom_err
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000
+POSTFIX_AUXLIBS+= -lasn1 -lhx509 -lroken
+.endif
.endif
.if ${PORT_OPTIONS:MSASLKMIT}