aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix28/Makefile
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2010-01-13 01:32:35 +0800
committeritetcu <itetcu@FreeBSD.org>2010-01-13 01:32:35 +0800
commit2bc673668796101b72c9574560891316a009f2c5 (patch)
tree4cdafdd032a45ad87cca2d3f5b13d5906f4039fe /mail/postfix28/Makefile
parentcdb1578be41fe300c40743529f5172bef0837dbd (diff)
downloadfreebsd-ports-gnome-2bc673668796101b72c9574560891316a009f2c5.tar.gz
freebsd-ports-gnome-2bc673668796101b72c9574560891316a009f2c5.tar.zst
freebsd-ports-gnome-2bc673668796101b72c9574560891316a009f2c5.zip
Fix build with Kerberbos5 on 8.0 and 9.0 which have new Heimdal.
PR: 141045 Submitted by: maintainer (Sahil Tandon)
Diffstat (limited to 'mail/postfix28/Makefile')
-rw-r--r--mail/postfix28/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/postfix28/Makefile b/mail/postfix28/Makefile
index 028f1ba0cfc5..9277c93611aa 100644
--- a/mail/postfix28/Makefile
+++ b/mail/postfix28/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)