Re: git: 08fc743190ff - main - editors/emacs-devel: Update to 2022-01-01 commit, 4d1968b

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 01 Jan 2022 06:39:58 UTC
Joseph Mingrone <jrm@FreeBSD.org> writes:

> The branch main has been updated by jrm:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=08fc743190ff920939d8f8ab1f44bf68343d07ef
>
> commit 08fc743190ff920939d8f8ab1f44bf68343d07ef
> Author:     Joseph Mingrone <jrm@FreeBSD.org>
> AuthorDate: 2021-12-21 19:42:08 +0000
> Commit:     Joseph Mingrone <jrm@FreeBSD.org>
> CommitDate: 2022-01-01 03:26:48 +0000
>
>     editors/emacs-devel: Update to 2022-01-01 commit, 4d1968b
>     
>     This commit introduces a new OPTION, pgtk, which builds a pure GTK
>     implementation of Emacs.
[...]
> +PGTK_IMPLIES=			CAIRO GTK3
> +PGTK_CONFIGURE_WITH=		pgtk

CAIRO port option has XFT in _IMPLIES which brings X11 dependencies that
PGTK probably doesn't use. Besides,

  if test "${HAVE_XFT}" = yes; then
    AC_MSG_WARN([This configuration uses libXft, which has a number of
      font rendering issues, and is being considered for removal in the
      next release of Emacs.  Please consider using Cairo graphics +
      HarfBuzz text shaping instead (they are auto-detected if the
      relevant development headers are installed).])
  fi

For PGTK you can actually build --without-x and drop *all* USE_XORG.