View | Details | Raw Unified | Return to bug 105142
Collapse All | Expand All

(-)./Makefile (-2 / +3 lines)
Lines 377-384 Link Here
377
.if exists(${LOCALBASE}/bin/krb5-config)
377
.if exists(${LOCALBASE}/bin/krb5-config)
378
LIB_DEPENDS+=		gssapi_krb5:${PORTSDIR}/security/krb5
378
LIB_DEPENDS+=		gssapi_krb5:${PORTSDIR}/security/krb5
379
CONFIGURE_ARGS+=	--with-gss=${LOCALBASE}
379
CONFIGURE_ARGS+=	--with-gss=${LOCALBASE}
380
.else
380
.elif (defined(MAKE_KERBEROS5) && ${OSVERSION} > 500105) || exists(/usr/lib/libkrb5.a)
381
CONFIGURE_ARGS+=	--with-gss
381
CONFIGURE_ARGS+=	--with-gss
382
USE_KRB5_SYS=YES
382
.endif
383
.endif
383
.endif
384
.endif
384
385
Lines 449-455 Link Here
449
450
450
pre-configure::
451
pre-configure::
451
	@(cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I m4)
452
	@(cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I m4)
452
.if !exists(${LOCALBASE}/bin/krb5-config)
453
.if defined(USE_KRB5_SYS)
453
	@${ECHO_CMD} "#define HAVE_HEIMDAL" >> ${WRKSRC}/config.h.in
454
	@${ECHO_CMD} "#define HAVE_HEIMDAL" >> ${WRKSRC}/config.h.in
454
	@${REINPLACE_CMD} -e 's|<gssapi/gssapi\.h>|<gssapi.h>|' \
455
	@${REINPLACE_CMD} -e 's|<gssapi/gssapi\.h>|<gssapi.h>|' \
455
		${WRKSRC}/imap/auth_gss.c
456
		${WRKSRC}/imap/auth_gss.c

Return to bug 105142