summaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2012-06-16 06:08:30 +0000
committerCy Schubert <cy@FreeBSD.org>2012-06-16 06:08:30 +0000
commit8102f883ff33fd5326c127afc8620aca6cff727b (patch)
treea538b394669e2a18473ae56092f9526348f3d745 /mail/mutt-devel
parentUpdate to the stable Wine 1.4.1 release. This includes (diff)
Fix build when linking against MIT KRB5 libraries.
Check for and use Heimdal in ports if available. PR: ports/167639 Approved by: maintainer (implicit)
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index d35e958b6299..e04e307bf578 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -122,7 +122,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.5.21
-PORTREVISION?= 4
+PORTREVISION?= 5
CATEGORIES+= mail ipv6
.if defined(WITH_MUTT_NNTP)
CATEGORIES+= news
@@ -160,7 +160,6 @@ DIST_SUBDIR= mutt
DOCSDIR?= ${PREFIX}/share/doc/mutt
EXAMPLESDIR?= ${PREFIX}/share/examples/mutt
DATADIR?= ${PREFIX}/share/mutt
-LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include"
CONFIGURE_ARGS= --disable-fcntl --with-ssl=${OPENSSLBASE} \
--with-docdir=${DOCSDIR} --sysconfdir=${PREFIX}/etc \
@@ -410,11 +409,17 @@ CONFIGURE_ARGS+= --with-gss=${LOCALBASE}
.elif exists(${KRB5_HOME}/bin/krb5-config)
LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
CONFIGURE_ARGS+= --with-gss=${KRB5_HOME}
+LDFLAGS+= -L ${KRB5_HOME}/lib
+.elif exists(${HEIMDAL_HOME}/bin/krb5-config)
+LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
+CONFIGURE_ARGS+= --with-gss=${KRB5_HOME}
+LDFLAGS+= -L ${HEIMDAL_HOME}/lib
.elif (defined(MAKE_KERBEROS5)) || exists(/usr/lib/libkrb5.a)
CONFIGURE_ARGS+= --with-gss
USE_KRB5_SYS=YES
.endif
.endif
+LDFLAGS+= -L${LOCALBASE}/lib
.if defined(WITH_MUTT_SMTP)
CONFIGURE_ARGS+= --enable-smtp
.else