diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-05 16:38:28 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-05 16:38:28 +0800 |
commit | 47cc322d6ce537ae126e4836168bf3431f6e9921 (patch) | |
tree | f68ac18e14434073a478cf0634076db4912b4c18 /mail/mutt14 | |
parent | 19e72b72adf9f01d750b9eb4dd89333c482dbe03 (diff) | |
download | freebsd-ports-gnome-47cc322d6ce537ae126e4836168bf3431f6e9921.tar.gz freebsd-ports-gnome-47cc322d6ce537ae126e4836168bf3431f6e9921.tar.zst freebsd-ports-gnome-47cc322d6ce537ae126e4836168bf3431f6e9921.zip |
- Fix GSSAPI for FreeBSD 4.x.
PR: ports/105141
Submitted by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
Sponsored by: FreeBSD Bug-a-thon #2
Diffstat (limited to 'mail/mutt14')
-rw-r--r-- | mail/mutt14/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile index b1a8eed76a34..38b9a9dd166e 100644 --- a/mail/mutt14/Makefile +++ b/mail/mutt14/Makefile @@ -29,6 +29,7 @@ MAINTAINER?= udo.schweigert@siemens.com COMMENT?= The Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, etc.) CONFLICTS= mutt-devel-* +.include <bsd.port.pre.mk> RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support .if defined(PACKAGE_BUILDING) && !defined (MUTT_LITE) @@ -122,8 +123,9 @@ CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} .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 MAN1= mutt.1 mutt_dotlock.1 @@ -147,7 +149,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 @@ -209,4 +211,4 @@ post-install: @${ECHO} "" .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |