diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-11-05 18:38:02 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-11-05 18:38:02 +0000 |
commit | 100c096aab9e1ed237c2bb742e03cfe97506afdc (patch) | |
tree | adca766fb18a733a4539c6f7a692f6e355aec42c /mail/mutt-devel/Makefile | |
parent | 651a519dc65d356625d103e5db51987615eef88d (diff) | |
download | ports-100c096aab9e1ed237c2bb742e03cfe97506afdc.tar.gz ports-100c096aab9e1ed237c2bb742e03cfe97506afdc.zip |
Notes
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r-- | mail/mutt-devel/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index b59d8f585517..b13862a41b03 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -377,8 +377,9 @@ CONFIGURE_ARGS+= --disable-gpgme .if exists(${LOCALBASE}/bin/krb5-config) LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5 CONFIGURE_ARGS+= --with-gss=${LOCALBASE} -.else +.elif (defined(MAKE_KERBEROS5) && ${OSVERSION} > 500105) || exists(/usr/lib/libkrb5.a) CONFIGURE_ARGS+= --with-gss +USE_KRB5_SYS=YES .endif .endif @@ -449,7 +450,7 @@ post-patch:: pre-configure:: @(cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I m4) -.if !exists(${LOCALBASE}/bin/krb5-config) +.if defined(USE_KRB5_SYS) @${ECHO_CMD} "#define HAVE_HEIMDAL" >> ${WRKSRC}/config.h.in @${REINPLACE_CMD} -e 's|<gssapi/gssapi\.h>|<gssapi.h>|' \ ${WRKSRC}/imap/auth_gss.c |