diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2010-01-12 17:32:35 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2010-01-12 17:32:35 +0000 |
commit | 0c4c0e5b3fcae5cdd572f712a470ca62a0d412ef (patch) | |
tree | d6a33a92d77ace2c8556572658fed177f10c5efa /mail/postfix27/Makefile | |
parent | 9825e345e0ebe842849cd207d3d6e6fbc7e51217 (diff) |
Fix build with Kerberbos5 on 8.0 and 9.0 which have new Heimdal.
PR: 141045
Submitted by: maintainer (Sahil Tandon)
Notes
Notes:
svn path=/head/; revision=247720
Diffstat (limited to 'mail/postfix27/Makefile')
-rw-r--r-- | mail/postfix27/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile index 028f1ba0cfc5..9277c93611aa 100644 --- a/mail/postfix27/Makefile +++ b/mail/postfix27/Makefile @@ -83,6 +83,10 @@ MLINKS= sendmail.1 mailq.1 \ HTML1= SOHO_README.html body_checks.5.html bounce.5.html postfix-power.png \ scache.8.html tlsmgr.8.html +.if ${OSVERSION} >= 800037 +KRB5_EXTR= -lhx509 +.endif + .if !defined(DEBUG) MAKEFILEFLAGS+= DEBUG= .endif @@ -128,7 +132,7 @@ _REQUIRE+= dovecot .if defined(WITH_SASLKRB) .if defined(WITH_SASLKRB5) || defined(WITH_SASLKMIT) -BROKEN= Select only one SASL Kerberos option +BROKEN= Select only one SASL Kerberos option .endif POSTFIX_AUXLIBS+= -lkrb -lcrypto -lcom_err .endif @@ -137,7 +141,7 @@ POSTFIX_AUXLIBS+= -lkrb -lcrypto -lcom_err .if defined(WITH_SASLKRB) || defined(WITH_SASLKMIT) BROKEN= Select only one SASL Kerberos option .endif -POSTFIX_AUXLIBS+= -lkrb5 -lcrypto -lcrypt -lcom_err -lasn1 -lroken +POSTFIX_AUXLIBS+= -lkrb5 ${KRB5_EXTR} -lcrypto -lcrypt -lcom_err -lasn1 -lroken .endif .if defined(WITH_SASLKMIT) |